Commit dbd04cab authored by unknown's avatar unknown

Merge work:/home/bk/mysql

into threads.polyesthetic.msg:/usr/local/src/my/work


sql/sql_parse.cc:
  Auto merged
sql/sql_yacc.yy:
  Auto merged
parents 2db1639c 5d1d3b31
...@@ -1716,6 +1716,7 @@ mysql_execute_command(void) ...@@ -1716,6 +1716,7 @@ mysql_execute_command(void)
case SQLCOM_BEGIN: case SQLCOM_BEGIN:
thd->options|= OPTION_BEGIN; thd->options|= OPTION_BEGIN;
thd->server_status|= SERVER_STATUS_IN_TRANS; thd->server_status|= SERVER_STATUS_IN_TRANS;
send_ok(&thd->net);
break; break;
case SQLCOM_COMMIT: case SQLCOM_COMMIT:
thd->options&= ~OPTION_BEGIN; thd->options&= ~OPTION_BEGIN;
......
...@@ -2851,7 +2851,7 @@ grant_option: ...@@ -2851,7 +2851,7 @@ grant_option:
| WITH GRANT OPTION { Lex->grant |= GRANT_ACL;} | WITH GRANT OPTION { Lex->grant |= GRANT_ACL;}
begin: begin:
BEGIN_SYM { Lex->sql_command = SQLCOM_COMMIT;} opt_work BEGIN_SYM { Lex->sql_command = SQLCOM_BEGIN;} opt_work
opt_work: opt_work:
/* empty */ {} /* empty */ {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment