mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Update StorageReplicatedMergeTree.cpp
This commit is contained in:
parent
da50663e2c
commit
8008ce6e9e
@ -3042,9 +3042,12 @@ bool StorageReplicatedMergeTree::optimize(const ASTPtr & query, const ASTPtr & p
|
||||
|
||||
if (!selected)
|
||||
{
|
||||
String message = "Cannot select parts for optimization" + (disable_reason.empty() ? "" : ": " + disable_reason)
|
||||
LOG_INFO(log, message);
|
||||
return handle_noop(message);
|
||||
std::stringstream message;
|
||||
message << "Cannot select parts for optimization";
|
||||
if (!disable_reason.empty())
|
||||
message << ": " << disable_reason;
|
||||
LOG_INFO(log, message.rdbuf());
|
||||
return handle_noop(message.str());
|
||||
}
|
||||
|
||||
ReplicatedMergeTreeLogEntryData merge_entry;
|
||||
|
Loading…
Reference in New Issue
Block a user