Documentation Home
MySQL 8.4 C API Developer Guide
Download this Manual
PDF (US Ltr) - 1.4Mb
PDF (A4) - 1.4Mb


5.4.11 mysql_debug()

voidmysql_debug(const char *debug)

Description

Does aDBUG_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");