Hi!
>>>>> "mysql" == mysql-return-103913-monty mysql <mysql-return-103913-monty> writes:
mysql> Hi,
mysql> is there any way to debug a c-programm that uses the mysql c-api? I want
mysql> to use checker for memleak checking but it seems to be impossible to
mysql> compile the mysql client libraries using checker. The reason seems to be
mysql> some assembly language parts. All other libraries I need compile.
mysql> Did anybody hack up some stubs to use checker for mysql applications?
mysql> Best regards,
mysql> Carsten Hammer
If you compile a debug version of the MySQL client library, you get
the following features:
- An internal memleak checker for MySQL client allocations
- The DBUG package, which enables you to check most function calls and
arguments to the MySQL library + more.
You can find more information about the above in the manual section
'Debugging a MySQL client'
In theory MySQL should work perfectly with any memleak package.
(It works at least with purify). If you have problems, please write a
full bug report about your compile problems to
[EMAIL PROTECTED] and we will try to help you with this.
<cut>
Regards,
Monty
--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Michael Widenius <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, CTO
/_/ /_/\_, /___/\___\_\___/ Helsinki, Finland
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php