Comments - How to Produce a Full Stack Trace for mariadbd
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.
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) :
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".