This commit is contained in:
Nikita Mikhailov 2019-07-25 11:50:16 +03:00
parent 405e9965f4
commit f637e22eb6
2 changed files with 4 additions and 7 deletions

View File

@ -1,11 +1,9 @@
SELECT 6103;
SELECT sleep(1);
SYSTEM FLUSH LOGS;
SELECT count(query) > 0
FROM system.text_log AS natural
INNER JOIN system.query_log USING (query_id)
WHERE query = 'SELECT 6103'
SELECT count() > 0
FROM system.text_log
WHERE position(system.text_log.message, 'SELECT 6103') > 0