diff options
author | unknown <msvensson@shellback.(none)> | 2008-04-09 11:05:53 +0200 |
---|---|---|
committer | unknown <msvensson@shellback.(none)> | 2008-04-09 11:05:53 +0200 |
commit | 9cd71f5c9706a60989f60934198ed3319665043a (patch) | |
tree | 8bb368c263bd697008f34a987846944713a3f59a /mysql-test/t/not_embedded_server.test | |
parent | f84ba1b5b7d25535583e54ece8ffca84b9ea7189 (diff) | |
download | mariadb-git-9cd71f5c9706a60989f60934198ed3319665043a.tar.gz |
Fix not_embedded_server to check if the value of com_select changed
regardless of it's current value
Diffstat (limited to 'mysql-test/t/not_embedded_server.test')
-rw-r--r-- | mysql-test/t/not_embedded_server.test | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mysql-test/t/not_embedded_server.test b/mysql-test/t/not_embedded_server.test index ffc13cf80f7..fe6b8825a87 100644 --- a/mysql-test/t/not_embedded_server.test +++ b/mysql-test/t/not_embedded_server.test @@ -48,10 +48,16 @@ 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; # End of 5.1 tests |