1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

sql_yacc.yy, sql_parse.cc, sql_lex.h, mysqld.cc, lex.h:

Add syntax SAVEPOINT id and ROLLBACK TO SAVEPOINT id. This is compatible with DB2 and Oracle but not with SQL Server. Savepoints do not do anything yet, this is just parsing.
This commit is contained in:
heikki@hundin.mysql.fi
2003-06-06 04:18:58 +03:00
parent 0058593c2d
commit 255a40c2f0
5 changed files with 29 additions and 4 deletions

View File

@@ -2533,6 +2533,9 @@ mysql_execute_command(void)
res= -1;
thd->options&= ~(ulong) (OPTION_BEGIN | OPTION_STATUS_NO_TRANS_UPDATE);
break;
case SQLCOM_SAVEPOINT:
send_ok(&thd->net);
break;
default: /* Impossible */
send_ok(&thd->net);
break;