summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2002-09-03 09:50:36 +0300
committerbell@sanja.is.com.ua <>2002-09-03 09:50:36 +0300
commitb07aaeb2956cd93e5cc31568523e0e9fec8e74c0 (patch)
tree80af274b045962ab1f5805301ffc1dfa15a21b96 /sql/sql_derived.cc
parent189d1dd630676a2e3be004d27770ae820e81b36b (diff)
downloadmariadb-git-b07aaeb2956cd93e5cc31568523e0e9fec8e74c0.tar.gz
subselect with union
new error handling Item_ref bug fixed
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 fb40a85fd91..cde120f3774 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -99,7 +99,7 @@ int mysql_derived(THD *thd, LEX *lex, SELECT_LEX_UNIT *unit, TABLE_LIST *t)
(ORDER*) sl->group_list.first,
sl->having, (ORDER*) NULL,
sl->options | thd->options | SELECT_NO_UNLOCK,
- derived_result, unit);
+ derived_result, unit, 0);
if (!res)
{
// Here we entirely fix both TABLE_LIST and list of SELECT's as there were no derived tables