mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
10 lines
621 B
SQL
10 lines
621 B
SQL
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');
|
|
|
|
select '01461_query_thread_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_thread_log_query_start_time_milliseconds_test%' AND query NOT LIKE '%system.query_log%') > 0, 'ok', 'fail');
|