diff --git a/tests/queries/0_stateless/01460_query_log_time_microseconds.reference b/tests/queries/0_stateless/01460_query_log_time_microseconds.reference deleted file mode 100644 index 54c729caaa1..00000000000 --- a/tests/queries/0_stateless/01460_query_log_time_microseconds.reference +++ /dev/null @@ -1,2 +0,0 @@ -1 -ok diff --git a/tests/queries/0_stateless/01460_query_log_time_microseconds.sql b/tests/queries/0_stateless/01460_query_log_time_microseconds.sql deleted file mode 100644 index 12f8d84f58d..00000000000 --- a/tests/queries/0_stateless/01460_query_log_time_microseconds.sql +++ /dev/null @@ -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'); diff --git a/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.reference b/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.reference new file mode 100644 index 00000000000..b4a3dced400 --- /dev/null +++ b/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.reference @@ -0,0 +1,2 @@ +01461_query_log_query_start_time_milliseconds_test +ok diff --git a/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.sql b/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.sql new file mode 100644 index 00000000000..c6c16f9b7f2 --- /dev/null +++ b/tests/queries/0_stateless/01461_query_log_query_start_time_microseconds.sql @@ -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');