Loading sql/sql_parse.cc +1 −0 Original line number Diff line number Diff line Loading @@ -1716,6 +1716,7 @@ mysql_execute_command(void) case SQLCOM_BEGIN: thd->options|= OPTION_BEGIN; thd->server_status|= SERVER_STATUS_IN_TRANS; send_ok(&thd->net); break; case SQLCOM_COMMIT: thd->options&= ~OPTION_BEGIN; Loading sql/sql_yacc.yy +1 −1 Original line number Diff line number Diff line Loading @@ -2851,7 +2851,7 @@ grant_option: | WITH GRANT OPTION { Lex->grant |= GRANT_ACL;} begin: BEGIN_SYM { Lex->sql_command = SQLCOM_COMMIT;} opt_work BEGIN_SYM { Lex->sql_command = SQLCOM_BEGIN;} opt_work opt_work: /* empty */ {} Loading Loading
sql/sql_parse.cc +1 −0 Original line number Diff line number Diff line Loading @@ -1716,6 +1716,7 @@ mysql_execute_command(void) case SQLCOM_BEGIN: thd->options|= OPTION_BEGIN; thd->server_status|= SERVER_STATUS_IN_TRANS; send_ok(&thd->net); break; case SQLCOM_COMMIT: thd->options&= ~OPTION_BEGIN; Loading
sql/sql_yacc.yy +1 −1 Original line number Diff line number Diff line Loading @@ -2851,7 +2851,7 @@ grant_option: | WITH GRANT OPTION { Lex->grant |= GRANT_ACL;} begin: BEGIN_SYM { Lex->sql_command = SQLCOM_COMMIT;} opt_work BEGIN_SYM { Lex->sql_command = SQLCOM_BEGIN;} opt_work opt_work: /* empty */ {} Loading