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;
>
> # ----------------------------------------------------- #
>
>
>