summaryrefslogtreecommitdiff
path: root/mysql-test/t/change_user.test
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@quad.>2008-02-13 13:00:24 +0300
committerunknown <anozdrin/alik@quad.>2008-02-13 13:00:24 +0300
commite40e60fe333f1e626732aa1d2087fb444dbc74d6 (patch)
treec40a5d51bf96b759ab604014266ac3b9383d8d9c /mysql-test/t/change_user.test
parentf8c40728ede2daca18757500f087861362640db2 (diff)
downloadmariadb-git-e40e60fe333f1e626732aa1d2087fb444dbc74d6.tar.gz
Additional patch for Bug#31222: com_% global status counters
behave randomly with mysql_change_user. The test case had to be moved into not_embedded_server.test file, because SHOW GLOBAL STATUS does not work properly in embedded server (see bug 34517). BitKeeper/deleted/.del-change_user-master.opt: Delete: mysql-test/t/change_user-master.opt mysql-test/r/change_user.result: Move test case for Bug#31222 to not_embedded_server.test. mysql-test/r/not_embedded_server.result: Move test case for Bug#31222 to not_embedded_server.test. mysql-test/t/change_user.test: Move test case for Bug#31222 to not_embedded_server.test. mysql-test/t/not_embedded_server.test: Move test case for Bug#31222 to not_embedded_server.test.
Diffstat (limited to 'mysql-test/t/change_user.test')
-rw-r--r--mysql-test/t/change_user.test29
1 files changed, 6 insertions, 23 deletions
diff --git a/mysql-test/t/change_user.test b/mysql-test/t/change_user.test
index eec2a6f39d3..82aeb4da4af 100644
--- a/mysql-test/t/change_user.test
+++ b/mysql-test/t/change_user.test
@@ -38,26 +38,9 @@ SELECT IS_USED_LOCK('bug31418');
# 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
-
-SHOW GLOBAL STATUS LIKE 'com_select';
-
---change_user
-
-SHOW GLOBAL STATUS LIKE 'com_select';
+# Moved to not_embedded_server.test due to Bug#34517: SHOW GLOBAL STATUS does
+# not work properly in embedded server.
+#
+# TODO: move it back when Bug#34517 is fixed (don't forget to add
+# --force-restart into change_user-master.opt).
+#