summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-02-10 12:02:11 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-02-10 12:02:11 +0200
commitc41c79650aa2ef8eaf3f887b94db8cc7478eadd1 (patch)
tree5d05c0591e7deef310800a1952a067ad6ad74777 /sql/sql_yacc.yy
parenta9eb272f9147b2889b95b3f53353e1c735defaba (diff)
parentcacea31687c098c0348deb1e433f4baddd817419 (diff)
downloadmariadb-git-c41c79650aa2ef8eaf3f887b94db8cc7478eadd1.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index dfbc89e411a..d506eb489b3 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -13298,6 +13298,8 @@ delete_part2:
{
Lex->last_table()->vers_conditions= Lex->vers_conditions;
Lex->pop_select(); //main select
+ if (Lex->check_main_unit_semantics())
+ MYSQL_YYABORT;
}
;
@@ -13334,6 +13336,8 @@ single_multi:
if ($3)
Select->order_list= *($3);
Lex->pop_select(); //main select
+ if (Lex->check_main_unit_semantics())
+ MYSQL_YYABORT;
}
| table_wild_list
{