mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-17711 Assertion `arena_for_set_stmt== 0' failed in LEX::set_arena_for_set_stmt upon SET STATEMENT
restore SET STATEMENT variables between statements in a multi-statement
This commit is contained in:
@ -1901,6 +1901,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
MYSQL_QUERY_DONE(thd->is_error());
|
||||
}
|
||||
|
||||
thd->lex->restore_set_statement_var();
|
||||
|
||||
#if defined(ENABLED_PROFILING)
|
||||
thd->profiling.finish_current_query();
|
||||
thd->profiling.start_new_query("continuing");
|
||||
|
Reference in New Issue
Block a user