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:
      mysql-test/t/lock_multi.test
=== 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/wait_condition.inc
 let $tlwb= `show status like 'Table_locks_waited'`;
 unlock tables;
+connection waiter;
+--reap
+connection default;
 drop table t1;
 disconnect waiter;
-connection default;
 --disable_query_log
 eval SET @tlwa= SUBSTRING_INDEX('$tlwa', '	', -1);
 eval SET @tlwb= SUBSTRING_INDEX('$tlwb', '	', -1);


Attachment: [text/bzr-bundle] bzr/davi.arnaut@sun.com-20091218203255-47sd3q50lrqm36hz.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (davi:3287) Bug#30331Davi Arnaut18 Dec