mirror of
https://github.com/MariaDB/server.git
synced 2025-06-13 13:01:51 +03:00
MDEV-7006 MDEV-7007: SET STATEMENT and slow log
fixed embedded server tests MDEV-7009: SET STATEMENT min_examined_row_limit has no effect MDEV-6948:SET STATEMENT gtid_domain_id = ... FOR has no effect (same for gtid_seq_no and server_id) old values of SET STATENENT variables now saved in its own Query_arena and restored later
This commit is contained in:
@ -122,6 +122,7 @@ int mysql_open_cursor(THD *thd, select_result *result,
|
||||
/* Mark that we can't use query cache with cursors */
|
||||
thd->query_cache_is_applicable= 0;
|
||||
rc= mysql_execute_command(thd);
|
||||
thd->lex->restore_set_statement_var();
|
||||
thd->m_statement_psi= parent_locker;
|
||||
MYSQL_QUERY_EXEC_DONE(rc);
|
||||
|
||||
|
Reference in New Issue
Block a user