1
0
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:
pem@mysql.com
2002-11-22 14:50:53 +01:00
parent b201dfece4
commit ae2192ed53
11 changed files with 44 additions and 39 deletions

View File

@@ -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;
}