Commit fd3b7f5e authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: make the test more debuggable

parent 775cba4d
......@@ -471,16 +471,21 @@ connection default;
# All results below should be 1
flush global status;
flush session status;
select $global_flush_status >= $local_flush_status as "1";
1
1
flush session status;
select $new_global_flush_status >= $global_flush_status as "1";
1
1
select $new_local_flush_status < $global_flush_status as "1";
1
1
flush global status;
select $new_local_flush_status >= $local_flush_status as "1";
1
1
select $new_global_flush_status < $new_local_flush_status as "1";
1
1
#
# end of 11.5 tests
#
......@@ -487,15 +487,14 @@ let $local_flush_status= `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_
--sleep 2
--disable_query_log
--eval select $global_flush_status >= $local_flush_status as "1"
--evalp select $global_flush_status >= $local_flush_status as "1"
flush session status;
let $new_global_flush_status= `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME LIKE 'Uptime_since_flush_status'`;
let $new_local_flush_status= `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME LIKE 'Uptime_since_flush_status'`;
--eval select $new_global_flush_status >= $global_flush_status as "1"
--eval select $new_local_flush_status < $global_flush_status as "1"
--evalp select $new_global_flush_status >= $global_flush_status as "1"
--evalp select $new_local_flush_status < $global_flush_status as "1"
--sleep 2
flush global status;
......@@ -504,10 +503,7 @@ let $local_flush_status=$new_local_flush_status;
let $new_global_flush_status= `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME LIKE 'Uptime_since_flush_status'`;
let $new_local_flush_status= `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME LIKE 'Uptime_since_flush_status'`;
--eval select $new_local_flush_status >= $local_flush_status as "1"
--eval select $new_global_flush_status < $new_local_flush_status as "1"
--evalp select $new_local_flush_status >= $local_flush_status as "1"
--evalp select $new_global_flush_status < $new_local_flush_status as "1"
--enable_query_log
--echo #
--echo # end of 11.5 tests
--echo #
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