From: Date: December 8 2008 3:54pm Subject: Re: bzr commit into mysql-6.0-falcon-team branch (hky:2928) Bug#41303 List-Archive: http://lists.mysql.com/commits/60950 Message-Id: <493D3525.8020109@sun.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT Hi Hakan, Test change looks good and the test now passes even when I have started mtr with a different than default falcon debug mask. Thanks for fixing this. OK to push! Olav Hakan Kuecuekyilmaz wrote: > #At file:///home/hakan/work/mysql/mysql-6.0-falcon-team/ based on revid:olav.sandstaa@stripped > > 2928 Hakan Kuecuekyilmaz 2008-12-08 > Fix for Bug#41303 Using global variable makes mysql-test-run test fail > modified: > mysql-test/suite/falcon/t/falcon_bug_28095.test > > per-file messages: > mysql-test/suite/falcon/t/falcon_bug_28095.test > Check your environment, when using global variables! > === modified file 'mysql-test/suite/falcon/t/falcon_bug_28095.test' > --- a/mysql-test/suite/falcon/t/falcon_bug_28095.test 2008-11-13 14:55:42 +0000 > +++ b/mysql-test/suite/falcon/t/falcon_bug_28095.test 2008-12-08 14:43:58 +0000 > @@ -37,6 +37,8 @@ CREATE TABLE t2 (b int); > # following restart really works. Global variables > # should be resetted after a server restart. > # > +--let $debug = `SELECT @@GLOBAL.falcon_debug_mask;` > +--replace_result $debug 0 > SELECT @@GLOBAL.falcon_debug_mask; > SET GLOBAL falcon_debug_mask = 4096; > SELECT @@GLOBAL.falcon_debug_mask; > @@ -53,6 +55,7 @@ SELECT * FROM t1 ORDER BY a; > # --- Check --- # > # ----------------------------------------------------- # > SELECT count(*) FROM t1; > +--replace_result $debug 0 > SELECT @@GLOBAL.falcon_debug_mask; > > # ----------------------------------------------------- # > > >