Added test.

This commit is contained in:
Nikolai Kochetov 2020-07-03 10:34:08 +03:00
parent e7ab4df148
commit 3c717d4aca
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
1
1 1

View File

@ -0,0 +1,5 @@
set log_queries = 1;
select count() > 0 from system.settings;
system flush logs;
select result_rows, result_bytes >= 8 from system.query_log where event_date >= today() - 1 and lower(query) like '%select count() > 0 from system.settings%' and type = 'QueryFinish' order by query_start_time desc limit 1;