mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
SQL syntax extended with START TRANSACTION READ ONLY|READ WRITE
and SET TRANSACTION READ ONLT|READ WRITE
statements.
per-file comments:
mysql-test/include/check-warnings.test
READ ONLY transaction flag cleaned.
mysql-test/r/commit.result
result updated
mysql-test/r/read_only.result
result updated
mysql-test/t/commit.test
tests added.
mysql-test/t/read_only.test
tests added
sql/lex.h
ONLY symbol added.
sql/sql_base.cc
DBUG_RETURN added.
sql/sql_parse.cc
implementations added.
sql/sql_yacc.yy
SQL syntax extended.
storage/perfschema/gen_pfs_lex_token
changes forced by lex.h
storage/perfschema/pfs_lex_token.h
changes forced by lex.h
This commit is contained in:
@@ -4005,6 +4005,7 @@ end_with_restore_list:
|
||||
{
|
||||
/* Reset the isolation level if no chaining transaction. */
|
||||
thd->tx_isolation= (enum_tx_isolation) thd->variables.tx_isolation;
|
||||
thd->tx_read_only= thd->variables.tx_read_only;
|
||||
}
|
||||
/* Disconnect the current client connection. */
|
||||
if (tx_release)
|
||||
|
||||
Reference in New Issue
Block a user