diff options
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r-- | sql/sql_yacc.yy | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy index 2ef0992cdf7..4a41ad32dcc 100644 --- a/sql/sql_yacc.yy +++ b/sql/sql_yacc.yy @@ -3922,11 +3922,10 @@ rollback: ROLLBACK_SYM { Lex->sql_command = SQLCOM_ROLLBACK; - Lex->savepoint_name = NULL; } | ROLLBACK_SYM TO_SYM SAVEPOINT_SYM ident { - Lex->sql_command = SQLCOM_ROLLBACK; + Lex->sql_command = SQLCOM_ROLLBACK_TO_SAVEPOINT; Lex->savepoint_name = $4.str; }; savepoint: |