MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:December 18 2009 8:33pm
Subject:bzr commit into mysql-5.1-bugteam branch (davi:3287) Bug#30331
View as plain text  
# At a local mysql-5.1-bugteam repository of davi

 3287 Davi Arnaut	2009-12-18
      Bug#30331: Table_locks_waited shows inaccurate values
      Post-merge fix: wait for statement result before disconnecting.
      Otherwise, the statement might affect unrelated tests.
     @ mysql-test/t/lock_multi.test
        Reap statement status.

=== modified file 'mysql-test/t/lock_multi.test'
--- a/mysql-test/t/lock_multi.test	2009-07-10 23:12:13 +0000
+++ b/mysql-test/t/lock_multi.test	2009-12-18 20:32:55 +0000
@@ -626,9 +626,11 @@ let $wait_condition=
 --source include/
 let $tlwb= `show status like 'Table_locks_waited'`;
 unlock tables;
+connection waiter;
+connection default;
 drop table t1;
 disconnect waiter;
-connection default;
 eval SET @tlwa= SUBSTRING_INDEX('$tlwa', '	', -1);
 eval SET @tlwb= SUBSTRING_INDEX('$tlwb', '	', -1);

Attachment: [text/bzr-bundle] bzr/
bzr commit into mysql-5.1-bugteam branch (davi:3287) Bug#30331Davi Arnaut18 Dec