From 8e68d007f30ac8b2fb7bce0e218aad784888e288 Mon Sep 17 00:00:00 2001 From: Maksim Kita Date: Wed, 19 May 2021 20:57:07 +0300 Subject: [PATCH] Fixed tests --- src/Storages/StorageTableFunction.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Storages/StorageTableFunction.h b/src/Storages/StorageTableFunction.h index 89d6ffce07b..859735fec5b 100644 --- a/src/Storages/StorageTableFunction.h +++ b/src/Storages/StorageTableFunction.h @@ -62,6 +62,13 @@ public: nested->shutdown(); } + void flush() override + { + std::lock_guard lock{nested_mutex}; + if (nested) + nested->flush(); + } + void drop() override { std::lock_guard lock{nested_mutex};