1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-29 21:42:28 +03:00

Disabling declaration of debug variable for non-debug builds.

(originally from Mats)
This commit is contained in:
anozdrin/alik@quad. 2008-02-11 14:05:27 +03:00
parent a52a30e3e6
commit 524cbe2e4c

View File

@ -1896,7 +1896,9 @@ int apply_event_and_update_pos(Log_event* ev, THD* thd, Relay_log_info* rli,
if (!rli->is_fake)
#endif
{
#ifndef DBUG_OFF
char buf[22];
#endif
DBUG_PRINT("info", ("update_pos error = %d", error));
DBUG_PRINT("info", ("group %s %s",
llstr(rli->group_relay_log_pos, buf),