summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-10-26 20:18:37 +0300
committerunknown <bell@sanja.is.com.ua>2002-10-26 20:18:37 +0300
commitc37bbf06bb452899e5946a75282000de0699b335 (patch)
tree70cb1e5353df14c2d420c54118339b26830d0bbe /sql/sql_yacc.yy
parent9e82940496fcacb66bd3a4132fab048eb8e7ea7d (diff)
downloadmariadb-git-c37bbf06bb452899e5946a75282000de0699b335.tar.gz
code cleanup
fixed subselect error handling bug fixed subselect UNION ALL bug fixed thd->lex.select restoring explain UNION subselect bug mysql-test/r/subselect.result: test for: subselect UNION ALL bug subselect error handling bug explain UNION subselect bug mysql-test/t/subselect.test: test for: subselect UNION ALL bug subselect error handling bug explain UNION subselect bug sql/sql_lex.cc: fixed subselect UNION ALL bug sql/sql_lex.h: fixed subselect UNION ALL bug sql/sql_parse.cc: fixed subselect UNION ALL bug sql/sql_select.cc: fixed subselect error handling bug fixed explain UNION subselect bug sql/sql_union.cc: fixed thd->lex.select restoring code cleanup fixed subselect error handling bug fixed subselect UNION ALL bug sql/sql_yacc.yy: fixed subselect UNION ALL bug
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 83de03026f1..7d68278e39f 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -4150,7 +4150,7 @@ optional_order_or_limit:
union_option:
/* empty */ {}
- | ALL {Lex->union_option=1;};
+ | ALL {Select->master_unit()->union_option= 1;};
singleval_subselect:
subselect_start singleval_subselect_init