mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Moved safe_to_cache_query from thd to lex.
This is required for prepared statements and stored procedures.
This commit is contained in:
@@ -2875,7 +2875,6 @@ mysql_init_query(THD *thd)
|
||||
thd->last_insert_id_used= thd->query_start_used= thd->insert_id_used=0;
|
||||
thd->sent_row_count= thd->examined_row_count= 0;
|
||||
thd->fatal_error= thd->rand_used= 0;
|
||||
thd->safe_to_cache_query= 1;
|
||||
thd->possible_loops= 0;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
Reference in New Issue
Block a user