MySQL :: MySQL 8.4 C API Developer Guide :: 5.4.11 mysql_debug() (original) (raw)
5.4.11 mysql_debug()
void
mysql_debug(const char *debug)
Description
Does a DBUG_PUSH
with the given string.mysql_debug() uses the Fred Fish debug library. To use this function, you must compile the client library to support debugging. SeeThe DBUG Package.
Return Values
None.
Errors
None.
Example
The call shown here causes the client library to generate a trace file in /tmp/client.trace
on the client machine:
mysql_debug("d:t:O,/tmp/client.trace");