mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Merge pull request #52143 from ClickHouse/remove-default-value
Remove default argument value
This commit is contained in:
commit
09b300cf07
@ -373,7 +373,7 @@ void StorageMergeTree::alter(
|
||||
/// Always execute required mutations synchronously, because alters
|
||||
/// should be executed in sequential order.
|
||||
if (!maybe_mutation_commands.empty())
|
||||
waitForMutation(mutation_version);
|
||||
waitForMutation(mutation_version, false);
|
||||
}
|
||||
|
||||
{
|
||||
@ -601,7 +601,7 @@ void StorageMergeTree::mutate(const MutationCommands & commands, ContextPtr quer
|
||||
|
||||
Int64 version = startMutation(commands, query_context);
|
||||
if (query_context->getSettingsRef().mutations_sync > 0 || query_context->getCurrentTransaction())
|
||||
waitForMutation(version);
|
||||
waitForMutation(version, false);
|
||||
}
|
||||
|
||||
bool StorageMergeTree::hasLightweightDeletedMask() const
|
||||
|
@ -191,7 +191,7 @@ private:
|
||||
/// and into in-memory structures. Wake up merge-mutation task.
|
||||
Int64 startMutation(const MutationCommands & commands, ContextPtr query_context);
|
||||
/// Wait until mutation with version will finish mutation for all parts
|
||||
void waitForMutation(Int64 version, bool wait_for_another_mutation = false);
|
||||
void waitForMutation(Int64 version, bool wait_for_another_mutation);
|
||||
void waitForMutation(const String & mutation_id, bool wait_for_another_mutation) override;
|
||||
void waitForMutation(Int64 version, const String & mutation_id, bool wait_for_another_mutation = false);
|
||||
void setMutationCSN(const String & mutation_id, CSN csn) override;
|
||||
|
Loading…
Reference in New Issue
Block a user