fix tests

This commit is contained in:
bharatnc 2020-08-30 00:05:18 -07:00
parent bddfa03631
commit 89eebdfde4
4 changed files with 7 additions and 8 deletions

View File

@ -1,6 +0,0 @@
set log_queries = 1;
select count() > 0 from system.query_log;
system flush logs;
describe system.query_log;
SELECT If((select count(query_start_time_microseconds) from system.query_log WHERE lower(query) LIKE '%describe system.query_log%') > 0, 'ok', 'fail');

View File

@ -0,0 +1,2 @@
01461_query_log_query_start_time_milliseconds_test
ok

View File

@ -0,0 +1,5 @@
set log_queries = 1;
select '01461_query_log_query_start_time_milliseconds_test';
system flush logs;
SELECT If((select count(query_start_time_microseconds) from system.query_log WHERE query LIKE '%01461_query_log_query_start_time_milliseconds_test%' AND query NOT LIKE '%system.query_log%') > 0, 'ok', 'fail');