MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Matthias Leich Date:April 30 2009 10:26am
Subject:bzr commit into mysql-5.0-bugteam branch (Matthias.Leich:2739)
Bug#44522
View as plain text  
#At file:///work2/5.0/mysql-5.0-bugteam-43546-push/ based on revid:holyfoot@stripped

 2739 Matthias Leich	2009-04-30
      Merge of fix for Bug#44522 main.not_embedded_server fails with "--check-testcases"
      into actual tree

    modified:
      mysql-test/r/not_embedded_server.result
      mysql-test/t/not_embedded_server.test
=== modified file 'mysql-test/r/not_embedded_server.result'
--- a/mysql-test/r/not_embedded_server.result	2009-01-15 09:36:34 +0000
+++ b/mysql-test/r/not_embedded_server.result	2009-04-30 10:26:11 +0000
@@ -4,9 +4,4 @@ Id	User	Host	db	Command	Time	State	Info
 number	root	localhost	test	Query	time	NULL	show full processlist
 deallocate prepare stmt1;
 FLUSH STATUS;
-SHOW GLOBAL STATUS LIKE 'com_select';
-Variable_name	Value
-Com_select	101
-SHOW GLOBAL STATUS LIKE 'com_select';
-Variable_name	Value
-Com_select	101
+Value of com_select did not change

=== modified file 'mysql-test/t/not_embedded_server.test'
--- a/mysql-test/t/not_embedded_server.test	2009-01-15 09:36:34 +0000
+++ b/mysql-test/t/not_embedded_server.test	2009-04-30 10:26:11 +0000
@@ -39,8 +39,14 @@ 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;


Attachment: [text/bzr-bundle] bzr/matthias.leich@sun.com-20090430102611-f9v4sjdxodhop2dt.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (Matthias.Leich:2739)Bug#44522Matthias Leich30 Apr