MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:kpettersson Date:May 13 2008 2:10pm
Subject:bk commit into 5.1 tree (thek:1.2629) BUG#32966
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of thek.  When thek does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-05-13 16:10:08+02:00, thek@adventure.(none) +3 -0
  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@stripped, 2008-05-13 16:10:06+02:00, thek@adventure.(none) +3 -2
    Reduce test to testing session status until 'FLUSH GLOBAL STATUS' is
    implemented.

  mysql-test/t/disabled.def@stripped, 2008-05-13 16:10:06+02:00, thek@adventure.(none) +0 -1
    Enable main.status.test.

  mysql-test/t/status.test@stripped, 2008-05-13 16:10:07+02:00, thek@adventure.(none) +3 -3
    Reduce test to testing session status until 'FLUSH GLOBAL STATUS' is
    implemented.

diff -Nrup a/mysql-test/r/status.result b/mysql-test/r/status.result
--- a/mysql-test/r/status.result	2007-12-19 01:27:12 +01:00
+++ b/mysql-test/r/status.result	2008-05-13 16:10:06 +02:00
@@ -162,7 +162,8 @@ Variable_name	Value
 Com_show_status	8
 rnd_diff	tmp_table_diff
 20	8
-show global status like 'Com%function%';
+flush status;
+show status like 'Com%function%';
 Variable_name	Value
 Com_alter_function	0
 Com_create_function	0
@@ -176,7 +177,7 @@ set ret = x * 10;
 return ret;
 end //
 drop function f1;
-show global status like 'Com%function%';
+show status like 'Com%function%';
 Variable_name	Value
 Com_alter_function	0
 Com_create_function	1
diff -Nrup a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def
--- a/mysql-test/t/disabled.def	2008-05-12 11:02:04 +02:00
+++ b/mysql-test/t/disabled.def	2008-05-13 16:10:06 +02:00
@@ -10,7 +10,6 @@
 #
 ##############################################################################
 federated_transactions   : Bug#29523 Transactions do not work
-status               : Bug#32966 main.status fails
 ps_ddl               : Bug#12093 2007-12-14 pending WL#4165 / WL#4166
 csv_alter_table      : Bug#33696 2008-01-21 pcrews no .result file - bug allows NULL columns in CSV tables
 user_limits     : Bug#23921 random failure of user_limits.test
diff -Nrup a/mysql-test/t/status.test b/mysql-test/t/status.test
--- a/mysql-test/t/status.test	2007-12-15 00:27:25 +01:00
+++ b/mysql-test/t/status.test	2008-05-13 16:10:07 +02:00
@@ -245,7 +245,8 @@ eval select substring_index('$rnd_next2'
 # 
 # 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 i
 DELIMITER ;//
 
 drop function f1;
-
-show global status like 'Com%function%';
+show status like 'Com%function%';
 
 
 # End of 5.1 tests
Thread
bk commit into 5.1 tree (thek:1.2629) BUG#32966kpettersson13 May