20.4.7 mysql_debug()

void mysql_debug(char *debug)

20.4.7.1 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. G.1 Debugguer un serveur MySQL. G.2 Debugguer un client MySQL.

20.4.7.2 Return values

None.

20.4.7.3 Errors

None.

20.4.7.4 Example

The call shown below 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");