1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Post-merge fix: DBUG macros are wrapped inside a loop.

This commit is contained in:
Davi Arnaut
2009-09-30 19:14:55 -03:00
parent d941a1f304
commit e1e038ab1e

View File

@ -2177,7 +2177,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
my_pthread_setspecific_ptr(THR_THD, thd);
if (!res)
send_ok(thd);
break;
goto end;
}
);
#endif
@ -2318,6 +2318,12 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
my_message(ER_UNKNOWN_COM_ERROR, ER(ER_UNKNOWN_COM_ERROR), MYF(0));
break;
}
/* Break the switch for DBUG wrapped code. */
#ifndef DBUG_OFF
end:
#endif
if (thd->lock || thd->open_tables || thd->derived_tables ||
thd->prelocked_mode)
{