Update StorageTinyLog.cpp

This commit is contained in:
alexey-milovidov 2019-12-31 03:41:03 +03:00 committed by Alexander Burmak
parent bfda1ff807
commit 3567a09360

View File

@ -177,6 +177,7 @@ Block TinyLogBlockInputStream::readImpl()
return res;
}
/// if there are no files in the folder, it means that the table is empty
if (storage.disk->isDirectoryEmpty(storage.table_path))
return res;