Merge of fix for Bug#44522 main.not_embedded_server fails with "--check-testcases"

into actual tree
This commit is contained in:
Matthias Leich 2009-04-30 12:26:11 +02:00
parent d7ad0a04d1
commit 0c4a79c132
2 changed files with 9 additions and 8 deletions

View File

@ -4,9 +4,4 @@ Id User Host db Command Time State Info
number root localhost test Query time NULL show full processlist
deallocate prepare stmt1;
FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 101
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 101
Value of com_select did not change

View File

@ -39,8 +39,14 @@ while ($i)
--enable_query_log
--enable_result_log
SHOW GLOBAL STATUS LIKE 'com_select';
let $before= query_get_value(SHOW GLOBAL STATUS LIKE 'com_select',Value,1);
--change_user
SHOW GLOBAL STATUS LIKE 'com_select';
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;