This commit is contained in:
KinderRiven 2022-08-10 22:04:43 +08:00
parent 9ba94e64f9
commit 9b7f87677d

View File

@ -63,7 +63,7 @@ static bool isQueryInitialized()
{
return CurrentThread::isInitialized()
&& CurrentThread::get().getQueryContext()
&& CurrentThread::getQueryId().size() != 0;
&& !CurrentThread::getQueryId().empty();
}
bool FileCache::isReadOnly()