summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2002-12-09 20:47:47 +0200
committerSinisa@sinisa.nasamreza.org <>2002-12-09 20:47:47 +0200
commitd8b4d6bd26c185d9e8072abb0f9f28f72c894a20 (patch)
treebb14e9a19e4481dc1f337136bb6624f7f2b76255 /sql/sql_yacc.yy
parent444690caa4dcde2c24315e65b798d4cd1e7943da (diff)
downloadmariadb-git-d8b4d6bd26c185d9e8072abb0f9f28f72c894a20.tar.gz
fix for a bug with UNION in sub-select's and start working on
UNION's in derived tables
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index ed8e8f0fb51..c1057033bd4 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -2504,7 +2504,7 @@ select_derived:
mysql_init_select(lex);
lex->current_select->linkage= DERIVED_TABLE_TYPE;
}
- select_options select_item_list opt_select_from
+ select_options select_item_list opt_select_from union_opt
;
opt_outer: