1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

sql_parse.cc add send_ok() for BEGIN WORK

sql_yacc.yy	SQLCOM_COMMIT => SQLCOM_BEGIN for BEGIN_SYM
This commit is contained in:
tim@threads.polyesthetic.msg
2000-10-30 21:50:15 -05:00
parent c5a1c3c7df
commit eb680470f1
2 changed files with 2 additions and 1 deletions

View File

@ -1697,6 +1697,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;