Commit c2c10094 authored by Monty's avatar Monty

Made main.flush more resilient for parallel threads

parent af33202a
......@@ -608,7 +608,10 @@ disconnect con1;
#
# Test FLUSH THREADS
#
set @save_thread_cache_size=@@global.thread_cache_size;
set @@global.thread_cache_size=0;
flush threads;
show status like "Threads_cached";
Variable_name Value
Threads_cached 0
set @@global.thread_cache_size=@save_thread_cache_size;
......@@ -727,5 +727,8 @@ disconnect con1;
--echo # Test FLUSH THREADS
--echo #
set @save_thread_cache_size=@@global.thread_cache_size;
set @@global.thread_cache_size=0;
flush threads;
show status like "Threads_cached";
set @@global.thread_cache_size=@save_thread_cache_size;
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