Documentation Home
MySQL Internals Manual


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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.