mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Review fix
This commit is contained in:
parent
29e3e7cb96
commit
6565423b1a
@ -5,6 +5,7 @@
|
||||
#include <Interpreters/evaluateConstantExpression.h>
|
||||
#include <Interpreters/addMissingDefaults.h>
|
||||
#include <Interpreters/getColumnFromBlock.h>
|
||||
#include <Interpreters/threadPoolCallbackRunner.h>
|
||||
#include <Storages/StorageBuffer.h>
|
||||
#include <Storages/StorageFactory.h>
|
||||
#include <Storages/AlterCommands.h>
|
||||
@ -814,10 +815,10 @@ void StorageBuffer::flushAllBuffers(bool check_thresholds)
|
||||
{
|
||||
if (flush_pool)
|
||||
{
|
||||
flush_pool->scheduleOrThrowOnError([&] ()
|
||||
scheduleFromThreadPool<void>([&] ()
|
||||
{
|
||||
flushBuffer(buf, check_thresholds, false);
|
||||
});
|
||||
}, *flush_pool, "BufferFlush");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user