mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Post-merge fixes for Bug 35103
This commit is contained in:
@ -2555,6 +2555,8 @@ void mysql_stmt_close(THD *thd, char *packet)
|
||||
Prepared_statement *stmt;
|
||||
DBUG_ENTER("mysql_stmt_close");
|
||||
|
||||
thd->main_da.disable_status();
|
||||
|
||||
if (!(stmt= find_prepared_statement(thd, stmt_id, "mysql_stmt_close")))
|
||||
DBUG_VOID_RETURN;
|
||||
|
||||
@ -2566,8 +2568,6 @@ void mysql_stmt_close(THD *thd, char *packet)
|
||||
(void) stmt->deallocate();
|
||||
general_log_print(thd, thd->command, NullS);
|
||||
|
||||
thd->main_da.disable_status();
|
||||
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user