[Maria-developers] Enabling DBUG_* macros
![](https://secure.gravatar.com/avatar/e50b3710f2e08f7cc154443c1d1ae979.jpg?s=120&d=mm&r=g)
18 Apr
2016
18 Apr
'16
12:29 p.m.
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.
![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
18 Apr
18 Apr
1:51 p.m.
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@mariadb.org
3220
Age (days ago)
3220
Last active (days ago)
1 comments
2 participants
participants (2)
-
Sergei Golubchik
-
Игорь Пашев