Commit ec66320b authored by Monty's avatar Monty

Replace setting QPLAN_ADMIN directly with prepare_logs_for_admin_command()

parent d3e3bb77
...@@ -6383,7 +6383,7 @@ mysql_execute_command(THD *thd) ...@@ -6383,7 +6383,7 @@ mysql_execute_command(THD *thd)
DBUG_ASSERT(first_table == all_tables && first_table != 0); DBUG_ASSERT(first_table == all_tables && first_table != 0);
/* fall through */ /* fall through */
case SQLCOM_ALTER_SEQUENCE: case SQLCOM_ALTER_SEQUENCE:
thd->query_plan_flags|= QPLAN_ADMIN; thd->prepare_logs_for_admin_command();
/* fall through */ /* fall through */
case SQLCOM_SIGNAL: case SQLCOM_SIGNAL:
case SQLCOM_RESIGNAL: case SQLCOM_RESIGNAL:
......
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