mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
10.0-base -> 10.0-monty
This commit is contained in:
@@ -118,6 +118,8 @@ int mysql_open_cursor(THD *thd, select_result *result,
|
||||
2);
|
||||
parent_locker= thd->m_statement_psi;
|
||||
thd->m_statement_psi= NULL;
|
||||
/* Mark that we can't use query cache with cursors */
|
||||
thd->query_cache_is_applicable= 0;
|
||||
rc= mysql_execute_command(thd);
|
||||
thd->m_statement_psi= parent_locker;
|
||||
MYSQL_QUERY_EXEC_DONE(rc);
|
||||
|
Reference in New Issue
Block a user