1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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

@ -792,7 +792,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
DBUG_RETURN(0);
}
table->query_id=thd->query_id;
thd->lex.tmp_table_used= 1;
thd->tmp_table_used= 1;
goto reset;
}
}