You can call the mysql_debug() function to perform a DBUG_PUSH operation by using a given string.
Syntax
void
mysql_debug(const char *debug)
Return values
None.
Errors
None.
Notes
mysql_debug() uses the Fred Fish debug library. To use this function, you must compile the client library to support debugging.