StorageBuffer: don't return empty blocks to read [#METR-20540].

This commit is contained in:
Alexey Milovidov 2016-03-22 02:04:50 +03:00
parent a0de151a9f
commit 114713a9c3

View File

@ -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)