Commit e5d859fa authored by Matthias Leich's avatar Matthias Leich

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

into actual tree
parent 626a272e
...@@ -4,9 +4,4 @@ Id User Host db Command Time State Info ...@@ -4,9 +4,4 @@ Id User Host db Command Time State Info
number root localhost test Query time NULL show full processlist number root localhost test Query time NULL show full processlist
deallocate prepare stmt1; deallocate prepare stmt1;
FLUSH STATUS; FLUSH STATUS;
SHOW GLOBAL STATUS LIKE 'com_select'; Value of com_select did not change
Variable_name Value
Com_select 101
SHOW GLOBAL STATUS LIKE 'com_select';
Variable_name Value
Com_select 101
...@@ -39,8 +39,14 @@ while ($i) ...@@ -39,8 +39,14 @@ while ($i)
--enable_query_log --enable_query_log
--enable_result_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 --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;
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