From 33f0239397ff685420704f996eb3caffa5b904c3 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 13 Feb 2003 17:56:01 +0200 Subject: 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 --- sql/sql_derived.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_derived.cc') 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 */ -- cgit v1.2.1