mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 02:00:49 +00:00
dbms: less overhead and indirection in StorageBuffer
This commit is contained in:
parent
8446069851
commit
274e0a80a7
@ -30,7 +30,7 @@ StorageBuffer::StorageBuffer(const std::string & name_, NamesAndTypesListPtr col
|
||||
destination_database(destination_database_), destination_table(destination_table_),
|
||||
no_destination(destination_database.empty() && destination_table.empty()),
|
||||
log(&Logger::get("StorageBuffer (" + name + ")")),
|
||||
flush_thread([this] { flushThread(); })
|
||||
flush_thread(&StorageBuffer::flushThread, this)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user