summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2003-02-13 17:56:01 +0200
committerSinisa@sinisa.nasamreza.org <>2003-02-13 17:56:01 +0200
commit5acf83802d2098a5be9848f4cadafa68709391ea (patch)
tree127beb594a69aba46bff85c57ad56970b3290fe0 /sql/sql_derived.cc
parentc75fa953e367f938d472bfee48ba2038d161b97c (diff)
downloadmariadb-git-5acf83802d2098a5be9848f4cadafa68709391ea.tar.gz
fix a bug in derived tables
UNION's bug fixes and code clean-up
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc2
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 */