summaryrefslogtreecommitdiff
path: root/mysql-test/t/status.test
diff options
context:
space:
mode:
authorunknown <thek@adventure.(none)>2008-05-13 16:10:08 +0200
committerunknown <thek@adventure.(none)>2008-05-13 16:10:08 +0200
commite17706eee283d642ee19dd92095ca0da5efa43f0 (patch)
treeed227ef1e5fcc48bc871d6e3dedb2e6143e9238a /mysql-test/t/status.test
parentd27005e708851ad5f5745e47298afad576f53a74 (diff)
downloadmariadb-git-e17706eee283d642ee19dd92095ca0da5efa43f0.tar.gz
Bug#32966 main.status fails
FLUSH STATUS doesn't clear the values of the global status variables. The test case is reduced to testing session local Com-variables until FLUSH GLOBAL STATUS is implemented. mysql-test/r/status.result: Reduce test to testing session status until 'FLUSH GLOBAL STATUS' is implemented. mysql-test/t/disabled.def: Enable main.status.test. mysql-test/t/status.test: Reduce test to testing session status until 'FLUSH GLOBAL STATUS' is implemented.
Diffstat (limited to 'mysql-test/t/status.test')
-rw-r--r--mysql-test/t/status.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/status.test b/mysql-test/t/status.test
index 25bf2a6ee61..ff033399434 100644
--- a/mysql-test/t/status.test
+++ b/mysql-test/t/status.test
@@ -245,7 +245,8 @@ eval select substring_index('$rnd_next2',0x9,-1)-substring_index('$rnd_next',0x9
#
# Bug#30252 Com_create_function is not incremented.
#
-show global status like 'Com%function%';
+flush status;
+show status like 'Com%function%';
DELIMITER //;
create function f1 (x INTEGER) returns integer
@@ -257,8 +258,7 @@ create function f1 (x INTEGER) returns integer
DELIMITER ;//
drop function f1;
-
-show global status like 'Com%function%';
+show status like 'Com%function%';
# End of 5.1 tests