Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 1.2Mb


MySQL Internals Manual  /  ...  /  If Your Test is Complicated, Support Debugging

26.6.7 If Your Test is Complicated, Support Debugging

Top level test script:

...
##### Option, for debugging support #####
let $debug= 0;
...

At various places within your scripts:

if ($debug)
{
   --echo # var1: $var1 , var2: $var2, .....
   SELECT ......
}

or

--disable_query_log
if ($debug)
{
   --enable_query_log
}

User Comments
Sign Up Login You must be logged in to post a comment.