mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Added test.
This commit is contained in:
parent
7c879259c1
commit
4f5a2ee6d1
@ -2,6 +2,7 @@ set log_queries=1;
|
|||||||
set log_query_threads=1;
|
set log_query_threads=1;
|
||||||
|
|
||||||
SELECT 1;
|
SELECT 1;
|
||||||
|
SYSTEM FLUSH LOGS;
|
||||||
|
|
||||||
WITH
|
WITH
|
||||||
(
|
(
|
||||||
@ -16,6 +17,7 @@ FROM system.query_thread_log
|
|||||||
WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id);
|
WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id);
|
||||||
|
|
||||||
select sum(number) from numbers(1000000);
|
select sum(number) from numbers(1000000);
|
||||||
|
SYSTEM FLUSH LOGS;
|
||||||
|
|
||||||
WITH
|
WITH
|
||||||
(
|
(
|
||||||
@ -30,6 +32,7 @@ FROM system.query_thread_log
|
|||||||
WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id);
|
WHERE (event_date >= (today() - 1)) AND (query_id = id) AND (thread_id != master_thread_id);
|
||||||
|
|
||||||
select sum(number) from numbers_mt(1000000);
|
select sum(number) from numbers_mt(1000000);
|
||||||
|
SYSTEM FLUSH LOGS;
|
||||||
|
|
||||||
WITH
|
WITH
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user