Smoke test

This commit is contained in:
Alexander Gololobov 2024-12-02 10:09:44 +01:00
parent a44e09a0c4
commit 499a39c614
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,2 @@
42
1 1

View 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';