mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
0c4a79c132
into actual tree
52 lines
999 B
Text
52 lines
999 B
Text
#
|
|
# Here we collect tests that doesn't work with the embedded server
|
|
#
|
|
|
|
-- source include/not_embedded.inc
|
|
|
|
#
|
|
# Show full process list with prepare
|
|
# To not show other connections, this must be the first test and we must
|
|
# have a server restart before this one
|
|
#
|
|
|
|
prepare stmt1 from ' show full processlist ';
|
|
--replace_column 1 number 6 time 3 localhost
|
|
execute stmt1;
|
|
deallocate prepare stmt1;
|
|
|
|
# End of 4.1 tests
|
|
|
|
#
|
|
# Bug#31222: com_% global status counters behave randomly with
|
|
# mysql_change_user.
|
|
#
|
|
|
|
FLUSH STATUS;
|
|
|
|
--disable_result_log
|
|
--disable_query_log
|
|
|
|
let $i = 100;
|
|
|
|
while ($i)
|
|
{
|
|
dec $i;
|
|
|
|
SELECT 1;
|
|
}
|
|
|
|
--enable_query_log
|
|
--enable_result_log
|
|
|
|
let $before= query_get_value(SHOW GLOBAL STATUS LIKE 'com_select',Value,1);
|
|
|
|
--change_user
|
|
|
|
let $after= query_get_value(SHOW GLOBAL STATUS LIKE 'com_select',Value,1);
|
|
|
|
if (`select $after != $before`){
|
|
SHOW GLOBAL STATUS LIKE 'com_select';
|
|
die The value of com_select changed during change_user;
|
|
}
|
|
echo Value of com_select did not change;
|