mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
fix
This commit is contained in:
parent
657d200d42
commit
f515e9465b
@ -404,7 +404,6 @@ void DatabaseLazy::attachTable(const String & table_name, const StoragePtr & tab
|
||||
LOG_DEBUG(log, "attach table" << table_name);
|
||||
std::lock_guard lock(tables_mutex);
|
||||
time_t current_time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
|
||||
LOG_DEBUG(log, "cache queue size " << cache_expiration_queue.size() << " cache size " << tables_cache.size());
|
||||
if (!tables_cache.emplace(std::piecewise_construct,
|
||||
std::forward_as_tuple(table_name),
|
||||
std::forward_as_tuple(table,
|
||||
|
Loading…
Reference in New Issue
Block a user