diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-11-11 14:04:50 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-11-11 14:04:50 +0200 |
commit | 89adb79aad5713bc31330c1cc4e02359202b5b2a (patch) | |
tree | 5795905ffbf1cea943a015739a92f93c792a6712 /sql/sql_derived.cc | |
parent | d96c670c70ae3e840a8b50fb85e38b50782d0593 (diff) | |
download | mariadb-git-89adb79aad5713bc31330c1cc4e02359202b5b2a.tar.gz |
small bug fix
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 93627409d27..a439131c61d 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -111,6 +111,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t) t->real_name=table->real_name; t->table=table; table->derived_select_number= sl->select_number; + table->tmp_table=TMP_TABLE; if (!lex->describe) sl->exclude(); t->db= (tables && tables->db && tables->db[0]) ? t->db : thd->db; |