Commit 0aeff8c3 authored by Jan Lindström's avatar Jan Lindström

Fix compiler error.

parent c23efc7d
...@@ -3663,13 +3663,12 @@ mysql_execute_command(THD *thd) ...@@ -3663,13 +3663,12 @@ mysql_execute_command(THD *thd)
#endif /* EMBEDDED_LIBRARY */ #endif /* EMBEDDED_LIBRARY */
case SQLCOM_SHOW_CREATE: case SQLCOM_SHOW_CREATE:
{ {
DBUG_ASSERT(first_table == all_tables && first_table != 0); DBUG_ASSERT(first_table == all_tables && first_table != 0);
#ifdef DONT_ALLOW_SHOW_COMMANDS #ifdef DONT_ALLOW_SHOW_COMMANDS
my_message(ER_NOT_ALLOWED_COMMAND, ER_THD(thd, ER_NOT_ALLOWED_COMMAND), my_message(ER_NOT_ALLOWED_COMMAND, ER_THD(thd, ER_NOT_ALLOWED_COMMAND),
MYF(0)); /* purecov: inspected */ MYF(0)); /* purecov: inspected */
goto error; goto error;
#else #else
{
WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW); WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW);
/* /*
...@@ -3892,7 +3891,6 @@ mysql_execute_command(THD *thd) ...@@ -3892,7 +3891,6 @@ mysql_execute_command(THD *thd)
DBUG_PRINT("debug", ("Just after generate_incident()")); DBUG_PRINT("debug", ("Just after generate_incident()"));
} }
#endif #endif
}
/* fall through */ /* fall through */
case SQLCOM_INSERT: case SQLCOM_INSERT:
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment