mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
Fix
This commit is contained in:
parent
cfa0aa772e
commit
e2b39db242
@ -371,10 +371,10 @@ void TruncateMetadataFileOperation::execute(std::unique_lock<SharedMutex> & meta
|
||||
}
|
||||
}
|
||||
|
||||
void TruncateMetadataFileOperation::undo()
|
||||
void TruncateMetadataFileOperation::undo(std::unique_lock<SharedMutex> & lock)
|
||||
{
|
||||
if (write_operation)
|
||||
write_operation->undo();
|
||||
write_operation->undo(lock);
|
||||
}
|
||||
|
||||
|
||||
|
@ -300,7 +300,7 @@ struct TruncateMetadataFileOperation final : public IMetadataOperation
|
||||
|
||||
void execute(std::unique_lock<SharedMutex> & metadata_lock) override;
|
||||
|
||||
void undo() override;
|
||||
void undo(std::unique_lock<SharedMutex> & lock) override;
|
||||
|
||||
private:
|
||||
std::string path;
|
||||
|
Loading…
Reference in New Issue
Block a user