Comments - How to Produce a Full Stack Trace for mariadbd

12 years, 4 months ago Jean Weisbuch
This comment has the status of 'removed' and can only be seen by you.

To build a "mysqld" binary with debugging enabled that uses same parameters as the ones used in Debian/Ubuntu binary packages, you must do (you must have a deb-src line of one of the MariaDB repositories on your /etc/apt/sources.list in order to do that) :

apt-get build-dep mariadb-5.5
apt-get install cmake libaio1 libaio-dev
apt-get source mariadb-5.5
cd mariadb-5.5*
./debian/rules configure
./BUILD/compile-amd64-debug-all

Then you will have your "debugging enabled" mysqld binary in the sql/ directory.

This binary can directly replace the one provided by the binary package that is placed on "/usr/bin/mysqld".

 
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.