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.
This commit is contained in:
unknown 2008-05-13 16:10:08 +02:00
commit e17706eee2
3 changed files with 6 additions and 6 deletions

View file

@ -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