1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Replace setting QPLAN_ADMIN directly with prepare_logs_for_admin_command()

This commit is contained in:
Monty
2019-03-08 10:17:56 +02:00
parent d3e3bb77c2
commit ec66320b0c

View File

@ -6383,7 +6383,7 @@ end_with_restore_list:
DBUG_ASSERT(first_table == all_tables && first_table != 0);
/* fall through */
case SQLCOM_ALTER_SEQUENCE:
thd->query_plan_flags|= QPLAN_ADMIN;
thd->prepare_logs_for_admin_command();
/* fall through */
case SQLCOM_SIGNAL:
case SQLCOM_RESIGNAL: