int mysql_dump_debug_info(MYSQL *mysql)
Instructs the server to write some debug information to the log.
For this to work, the connected user must have the
SUPER privilege.
Zero if the command was successful. Nonzero if an error occurred.
Commands were executed in an improper order.
The MySQL server has gone away.
The connection to the server was lost during the query.
An unknown error occurred.

User Comments
Add your own comment.