← Back to team overview

maria-developers team mailing list archive

Re: Enabling DBUG_* macros

 

Hi, Игорь!

On Apr 18, Игорь Пашев wrote:
> Hi all :-)
> 
> How can I enable all those nice DBUG_* macros and/or see their output?
> I'm configuring MariaDB with cmake -DCMAKE_BUILD_TYPE=Debug,
> but it seems I don't have those macros.

If you configure with -DCMAKE_BUILD_TYPE=Debug, you have them.
But dbug output needs also to be enabled run-time.

See dbug/user.t or dbug/user.ps for dbug manual.

For a quck start you can use "./mysqld --debug"

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


References