mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-11719 main.subselect_no_exists_to_in failed in buildbot
main.log_slow might leave mysql.slow_log table non-empty, and tests which later use it might fail. Make sure that the table is properly truncated
This commit is contained in:
parent
2718225b26
commit
0912fbbce1
2 changed files with 2 additions and 2 deletions
|
|
@ -67,9 +67,9 @@ sleep(0.5)
|
|||
select count(*) FROM mysql.slow_log;
|
||||
count(*)
|
||||
1
|
||||
truncate mysql.slow_log;
|
||||
set @@long_query_time=default;
|
||||
set global slow_query_log= @org_slow_query_log;
|
||||
set @@log_slow_filter=default;
|
||||
set @@log_slow_verbosity=default;
|
||||
set global log_output= default;
|
||||
truncate mysql.slow_log;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ set global slow_query_log=1;
|
|||
set global log_output='TABLE';
|
||||
select sleep(0.5);
|
||||
select count(*) FROM mysql.slow_log;
|
||||
truncate mysql.slow_log;
|
||||
|
||||
# Reset used variables
|
||||
set @@long_query_time=default;
|
||||
|
|
@ -58,3 +57,4 @@ set global slow_query_log= @org_slow_query_log;
|
|||
set @@log_slow_filter=default;
|
||||
set @@log_slow_verbosity=default;
|
||||
set global log_output= default;
|
||||
truncate mysql.slow_log;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue