summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-01-07 11:45:06 +0200
committerunknown <monty@mashka.mysql.fi>2003-01-07 11:45:06 +0200
commit64dc734dee09157bf0c4c9bd84ba6b16754e27e1 (patch)
treeabb09346d74f5eb8cf867ea184e544bab1f41331 /sql/sql_class.cc
parentef62b4c948d68108c0945ebde33540b03b392a6d (diff)
downloadmariadb-git-64dc734dee09157bf0c4c9bd84ba6b16754e27e1.tar.gz
Fixed that derived tables are properly droped
mysys/my_init.c: Move my_once_free() up to not get warnings for this from safemalloc. sql/item_row.cc: Removed compiler warnings sql/sql_select.cc: split fix_tables_pointer() into two functions to be able to reuse code sql/sql_select.h: split fix_tables_pointer() into two functions to be able to reuse code
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 3ca1f4827ff..ab789370660 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -90,7 +90,7 @@ THD::THD():user_time(0), fatal_error(0),
db_length=query_length=col_access=0;
query_error=0;
next_insert_id=last_insert_id=0;
- open_tables=temporary_tables=handler_tables=0;
+ open_tables= temporary_tables= handler_tables= derived_tables= 0;
current_tablenr=0;
handler_items=0;
tmp_table=0;