Skip to content

Commit 932100c

Browse files
committed
cleanup sql_yacc.yy: remove redundant ev_sql_stmt_inner rule
1 parent 60475b8 commit 932100c

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

sql/sql_yacc.yy

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2621,7 +2621,7 @@ ev_sql_stmt:
26212621
lex->sp_chistics.suid= SP_IS_SUID; //always the definer!
26222622
lex->sphead->set_body_start(thd, lip->get_cpp_ptr());
26232623
}
2624-
ev_sql_stmt_inner
2624+
sp_proc_stmt
26252625
{
26262626
LEX *lex= thd->lex;
26272627

@@ -2633,22 +2633,6 @@ ev_sql_stmt:
26332633
}
26342634
;
26352635

2636-
ev_sql_stmt_inner:
2637-
sp_proc_stmt_statement
2638-
| sp_proc_stmt_return
2639-
| sp_proc_stmt_if
2640-
| case_stmt_specification
2641-
| sp_labeled_block
2642-
| sp_unlabeled_block
2643-
| sp_labeled_control
2644-
| sp_unlabeled_control
2645-
| sp_proc_stmt_leave
2646-
| sp_proc_stmt_iterate
2647-
| sp_proc_stmt_open
2648-
| sp_proc_stmt_fetch
2649-
| sp_proc_stmt_close
2650-
;
2651-
26522636
clear_privileges:
26532637
/* Nothing */
26542638
{

0 commit comments

Comments
 (0)