diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 11634f47e1b..7be705a9090 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -9415,6 +9415,7 @@ for_portion_of_time_clause: Vers_history_point(VERS_TIMESTAMP, $9), $5); } + ; opt_for_portion_of_time_clause: /* empty */ diff --git a/sql/sql_yacc_ora.yy b/sql/sql_yacc_ora.yy index f5a4e55b66f..333bca4af86 100644 --- a/sql/sql_yacc_ora.yy +++ b/sql/sql_yacc_ora.yy @@ -9528,6 +9528,7 @@ for_portion_of_time_clause: Vers_history_point(VERS_TIMESTAMP, $9), $5); } + ; opt_for_portion_of_time_clause: /* empty */