Debug files not written by client lib

Hi, I have a C program that uses mariadbclient.lib. I added this line to generatate a trace file from the lib:

mysql_debug("d:t:O,e:\\Temp\\MysqlClient.log");

In addition I set environmant variable MYSQL_DEBUG. However, no debug file was created anywhere. What should I do to see trace files?

I tried the client lib 1.0 binary downloaded fron your site, as well as the source code complied in DEBUG.

Thanks

Answer

I've just tried a library compiled in Debug and mysql command line client (where I've added mysql_debug(0) call — everything works, MYSQL_DEBUG is recognized, a file is created.

I'd say, this needs more analysys to understand how my environment was different from yours. Please, submit a bug report at http://mariadb.org/jira (choose "MariaDB Client Library for C" project). And we'll take it from there.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.