List:Commits« Previous MessageNext Message »
From:Ingo Strüwing Date:April 8 2009 10:21am
Subject:Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)
Bug#44068
View as plain text  
Hi Guilhem,

Guilhem Bichot, 08.04.2009 11:26:

...
> And check-testcase sees no problem when running the test with --debug I
> guess.


Well, it's 6.0. check-testcase complains on every test case if --debug
is used. My test case produces the same diff as every test case.

...
> Try this:
> SET debug='+d:+d,key_cache_write_block_error';
> your_test_statements;
> SET debug='+d:-d,key_cache_write_block_error';
> 
> From what I tested it should leave debugging on while
> your_test_statements run.


No, it doesn't work. But now I have dbug output in the error log, if
running without --debug. :-/

It doesn't work, because an empty list of keywords means all keywords.
When adding a single keyword, the list is no longer empty, hence the
logic changes to suppress all keywords, but the given one.

The effect is not that obvious if the 't' (trace) option is also active.
It isn't influenced by the debug keyword list. One needs to look twice
to see that the debug output is missing between the trace output. I use
to grep for "query:". So I see the +d,keyword statement and next is the
statement behind the -d,keyword statement. Thus, the debug output is
suppressed in between.

...

Regards
Ingo
-- 
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring   HRB München 161028
Thread
bzr commit into mysql-6.0-backup branch (ingo.struewing:2810) Bug#44068Ingo Struewing7 Apr
  • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Guilhem Bichot7 Apr
    • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Ingo Strüwing8 Apr
      • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Guilhem Bichot8 Apr
        • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Ingo Strüwing8 Apr
          • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Guilhem Bichot8 Apr
            • Re: bzr commit into mysql-6.0-backup branch (ingo.struewing:2810)Bug#44068Ingo Strüwing9 Apr