mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Smoke test
This commit is contained in:
parent
a44e09a0c4
commit
499a39c614
@ -0,0 +1,2 @@
|
||||
42
|
||||
1 1
|
9
tests/queries/0_stateless/03277_logging_elapsed_ns.sql
Normal file
9
tests/queries/0_stateless/03277_logging_elapsed_ns.sql
Normal file
@ -0,0 +1,9 @@
|
||||
SELECT 42 SETTINGS log_comment='03277_logging_elapsed_ns';
|
||||
|
||||
SYSTEM FLUSH LOGS;
|
||||
|
||||
SELECT
|
||||
ProfileEvents['LogDebug'] + ProfileEvents['LogTrace'] > 0,
|
||||
ProfileEvents['LoggerElapsedNanoseconds'] > 0
|
||||
FROM system.query_log
|
||||
WHERE current_database = currentDatabase() AND log_comment = '03277_logging_elapsed_ns' AND type = 'QueryFinish';
|
Loading…
Reference in New Issue
Block a user