mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
StorageBuffer: don't return empty blocks to read [#METR-20540].
This commit is contained in:
parent
a0de151a9f
commit
114713a9c3
@ -86,7 +86,7 @@ protected:
|
||||
|
||||
std::lock_guard<std::mutex> lock(buffer.mutex);
|
||||
|
||||
if (!buffer.data)
|
||||
if (!buffer.data.rowsInFirstColumn())
|
||||
return res;
|
||||
|
||||
for (const auto & name : column_names)
|
||||
|
Loading…
Reference in New Issue
Block a user