1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Move tmp_table_used to THD

Optimize depending sub querys
Remove valgrind warnings
This commit is contained in:
monty@mashka.mysql.fi
2003-02-10 17:59:16 +02:00
parent aee7346ec1
commit 48558055ed
19 changed files with 239 additions and 206 deletions

View File

@@ -3181,6 +3181,7 @@ mysql_init_query(THD *thd)
thd->sent_row_count= thd->examined_row_count= 0;
thd->is_fatal_error= thd->rand_used= 0;
thd->server_status &= ~SERVER_MORE_RESULTS_EXISTS;
thd->tmp_table_used= 0;
if (opt_bin_log)
reset_dynamic(&thd->user_var_events);