summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-10 17:59:16 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-10 17:59:16 +0200
commit96273457dd172291892b279c420a770e64e0a5a3 (patch)
treeafc92b80727719cbb09f63c506e547cb0aed94f4 /sql/sql_base.cc
parented95131e0637d6adb280e3501134dbf7496da3a4 (diff)
downloadmariadb-git-96273457dd172291892b279c420a770e64e0a5a3.tar.gz
Move tmp_table_used to THD
Optimize depending sub querys Remove valgrind warnings libmysqld/lib_sql.cc: Better way to reset errors mysql-test/mysql-test-run.sh: Remove wrong ` mysql-test/r/subselect.result: Don't use table t1 mysql-test/t/subselect.test: Don't use table t1 sql/item.cc: Indentation fix sql/item.h: optimize depending sub querys sql/item_func.cc: Remove warning for uninitalized data sql/item_row.cc: Remove warning sql/item_strfunc.h: Fixed memory overrun sql/item_subselect.cc: Better debugging names sql/log_event.cc: Move tmp_table_used to THD sql/sql_base.cc: Move tmp_table_used to THD sql/sql_class.cc: Move tmp_table_used to THD sql/sql_class.h: Move tmp_table_used to THD sql/sql_lex.cc: Move tmp_table_used to THD sql/sql_lex.h: Move tmp_table_used to THD sql/sql_parse.cc: Move tmp_table_used to THD sql/sql_select.cc: optimize depending sub querys sql/sql_table.cc: Move tmp_table_used to THD
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index f4a32b482b3..97c92ff2b8f 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -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;
}
}