mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Merge pull request #10803 from ClickHouse/slightly-better-test
Slightly better test
This commit is contained in:
commit
3a982e01d0
@ -3,5 +3,5 @@ SELECT * FROM test_table_for_01070_exception_code_in_query_log_table; -- { serve
|
|||||||
CREATE TABLE test_table_for_01070_exception_code_in_query_log_table (value UInt64) ENGINE=Memory();
|
CREATE TABLE test_table_for_01070_exception_code_in_query_log_table (value UInt64) ENGINE=Memory();
|
||||||
SELECT * FROM test_table_for_01070_exception_code_in_query_log_table;
|
SELECT * FROM test_table_for_01070_exception_code_in_query_log_table;
|
||||||
SYSTEM FLUSH LOGS;
|
SYSTEM FLUSH LOGS;
|
||||||
SELECT exception_code FROM system.query_log WHERE query='SELECT * FROM test_table_for_01070_exception_code_in_query_log_table' ORDER BY exception_code;
|
SELECT exception_code FROM system.query_log WHERE query = 'SELECT * FROM test_table_for_01070_exception_code_in_query_log_table' AND event_date >= yesterday() AND event_time > now() - INTERVAL 5 MINUTE ORDER BY exception_code;
|
||||||
DROP TABLE IF EXISTS test_table_for_01070_exception_code_in_query_log_table;
|
DROP TABLE IF EXISTS test_table_for_01070_exception_code_in_query_log_table;
|
||||||
|
Loading…
Reference in New Issue
Block a user