mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
A fix for Bug#28830 Test case log_state fails on VMWare Windows clone due to loaded system
This commit is contained in:
parent
a3b210d408
commit
3ecef8c0b9
2 changed files with 4 additions and 4 deletions
|
@ -37,14 +37,14 @@ set session long_query_time=1;
|
|||
select sleep(2);
|
||||
sleep(2)
|
||||
0
|
||||
select * from mysql.slow_log;
|
||||
select * from mysql.slow_log where sql_text NOT LIKE '%slow_log%';
|
||||
start_time user_host query_time lock_time rows_sent rows_examined db last_insert_id insert_id server_id sql_text
|
||||
set global slow_query_log= ON;
|
||||
set session long_query_time=1;
|
||||
select sleep(2);
|
||||
sleep(2)
|
||||
0
|
||||
select * from mysql.slow_log;
|
||||
select * from mysql.slow_log where sql_text NOT LIKE '%slow_log%';
|
||||
start_time user_host query_time lock_time rows_sent rows_examined db last_insert_id insert_id server_id sql_text
|
||||
TIMESTAMP USER_HOST QUERY_TIME 00:00:00 1 0 test 0 0 1 select sleep(2)
|
||||
show global variables
|
||||
|
|
|
@ -28,7 +28,7 @@ connection con1;
|
|||
set session long_query_time=1;
|
||||
select sleep(2);
|
||||
--replace_column 1 TIMESTAMP 2 USER_HOST 3 QUERY_TIME
|
||||
select * from mysql.slow_log;
|
||||
select * from mysql.slow_log where sql_text NOT LIKE '%slow_log%';
|
||||
connection default;
|
||||
|
||||
set global slow_query_log= ON;
|
||||
|
@ -36,7 +36,7 @@ connection con1;
|
|||
set session long_query_time=1;
|
||||
select sleep(2);
|
||||
--replace_column 1 TIMESTAMP 2 USER_HOST 3 QUERY_TIME
|
||||
select * from mysql.slow_log;
|
||||
select * from mysql.slow_log where sql_text NOT LIKE '%slow_log%';
|
||||
connection default;
|
||||
show global variables
|
||||
where Variable_name = 'log' or Variable_name = 'log_slow_queries' or
|
||||
|
|
Loading…
Reference in a new issue