Commit cc7e3490 authored by Elena Stepanova's avatar Elena Stepanova

MDEV-12764 main.log_tables-big fails in buildbot due to connect_log

Additionally internal check was failing because the test did not
restore a global value properly
parent 36e020a5
set @@global.log_output = 'TABLE';
connect con1,localhost,root,,;
connect con2,localhost,root,,;
connection con1;
set session long_query_time=10;
select get_lock('bug27638', 1);
get_lock('bug27638', 1)
1
connection con2;
set session long_query_time=1;
select get_lock('bug27638', 2);
get_lock('bug27638', 2)
......@@ -25,7 +29,11 @@ select if (query_time >= '00:01:40', 'OK', 'WRONG') as qt, sql_text from mysql.s
where sql_text = 'select get_lock(\'bug27638\', 101)';
qt sql_text
OK select get_lock('bug27638', 101)
connection con1;
select release_lock('bug27638');
release_lock('bug27638')
1
connection default;
disconnect con1;
disconnect con2;
set @@global.log_output=default;
--log-output=table,file --slow-query-log --general-log --general-log-file="" --slow-query-log-file=""
--slow-query-log --general-log --general-log-file="" --slow-query-log-file=""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment