diff options
author | unknown <bell@sanja.is.com.ua> | 2004-01-17 14:03:22 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-01-17 14:03:22 +0200 |
commit | e6213fe4e7a1eaa25697381b3c247ce26daa8db5 (patch) | |
tree | 46150fdb4fc6d99018c135f98c8b879c3a69909a /sql/sql_derived.cc | |
parent | 2de832dbf99a8796b081419a29cacbeb07cd3871 (diff) | |
parent | 5e55cd5d0feba9e276ddc8bc4c2e225f714b3290 (diff) | |
download | mariadb-git-e6213fe4e7a1eaa25697381b3c247ce26daa8db5.tar.gz |
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-ft_derived-4.1
sql/sql_derived.cc:
Auto merged
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 10d2254969a..d70917eb47f 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -198,7 +198,10 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, } } else + { unit->exclude_tree(); + unit->cleanup(); + } org_table_list->db= (char *)""; // Force read of table stats in the optimizer table->file->info(HA_STATUS_VARIABLE); |