diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2003-02-13 17:56:01 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2003-02-13 17:56:01 +0200 |
commit | 33f0239397ff685420704f996eb3caffa5b904c3 (patch) | |
tree | 127beb594a69aba46bff85c57ad56970b3290fe0 /sql/sql_derived.cc | |
parent | 802fe52548921c37833e09974e59cce09dd4ee70 (diff) | |
download | mariadb-git-33f0239397ff685420704f996eb3caffa5b904c3.tar.gz |
fix a bug in derived tables
UNION's bug fixes and code clean-up
mysql-test/r/subselect.result:
An insignificant consequent of my UNION"s clean-up
sql/sql_derived.cc:
Fix a bug that our CTO reported
sql/sql_lex.h:
Fixing some bugs in UNION's with code clean-up
sql/sql_union.cc:
Fixing some bugs in UNION's with code clean-up
sql/sql_yacc.yy:
Fixing some bugs in UNION's with code clean-up
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 528bdb7b6f5..c288a1d728f 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -189,7 +189,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, tables->table_list->table=tables->table; } else - unit->exclude(); + unit->exclude_level(); org_table_list->db= (char *)""; #ifndef DBUG_OFF /* Try to catch errors if this is accessed */ |