Simplification

This commit is contained in:
Alexey Milovidov 2020-09-17 23:51:16 +03:00
parent 3bb0088c86
commit 8193da847b
2 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ CheckResults StorageTinyLog::checkData(const ASTPtr & /* query */, const Context
}
void StorageTinyLog::truncate(
const ASTPtr &, const StorageMetadataPtr & metadata_snapshot, const Context & context, TableExclusiveLockHolder &)
const ASTPtr &, const StorageMetadataPtr & metadata_snapshot, const Context &, TableExclusiveLockHolder &)
{
disk->clearDirectory(table_path);

View File

@ -70,7 +70,7 @@ private:
Files files;
FileChecker file_checker;
mutable std::mutex mutex;
mutable std::shared_timed_mutex rwlock;
Poco::Logger * log;