This commit is contained in:
kssenii 2022-03-02 15:31:34 +01:00
parent b1f5805647
commit 5e84c75942

View File

@ -818,6 +818,9 @@ void registerStorageFileLog(StorageFactory & factory)
bool StorageFileLog::updateFileInfos()
{
if (file_infos.file_names.empty())
return false;
if (!directory_watch)
{
/// For table just watch one file, we can not use directory monitor to watch it