mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
946fad3502
Bug#20837 Apparent change of isolation level during transaction, Bug#46527 COMMIT AND CHAIN RELEASE does not make sense, Bug#53343 completion_type=1, COMMIT/ROLLBACK AND CHAIN don't preserve the isolation level Bug#53346 completion_type has strange effect in a stored procedure/prepared statement Make thd->tx_isolation mean strictly "current transaction isolation level" Make thd->variables.tx_isolation mean "current session isolation level". The current transaction isolation level is now established at transaction start. If there was a SET TRANSACTION ISOLATION LEVEL statement, the value is taken from it. Otherwise, the session value is used. A change in a session value, made while a transaction is active, whereas still allowed, no longer has any effect on the current transaction isolation level. This is an incompatible change. A change in a session isolation level, made while there is no active transaction, overrides SET TRANSACTION statement, if there was any. Changed the impelmentation to not look at @@session.completion_type in the parser, and thus fixed Bug#53346. Changed the parser to not allow AND NO CHAIN RELEASE, and thus fixed Bug#46527. Changed the transaction API to take the current transaction isolation level into account: - BEGIN/COMMIT now do preserve the current transaction isolation level if chaining is on. - implicit commit, XA COMMIT or XA ROLLBACK or autocommit don't. |
||
---|---|---|
.. | ||
binlog_base64_flag.result | ||
binlog_database.result | ||
binlog_delete_and_flush_index.result | ||
binlog_format_switch_in_tmp_table.result | ||
binlog_grant.result | ||
binlog_implicit_commit.result | ||
binlog_incident.result | ||
binlog_index.result | ||
binlog_innodb.result | ||
binlog_innodb_row.result | ||
binlog_killed.result | ||
binlog_killed_simulate.result | ||
binlog_max_extension.result | ||
binlog_mix_innodb_stat.result | ||
binlog_multi_engine.result | ||
binlog_old_versions.result | ||
binlog_row_binlog.result | ||
binlog_row_ctype_cp932.result | ||
binlog_row_ctype_ucs.result | ||
binlog_row_drop_tbl.result | ||
binlog_row_drop_tmp_tbl.result | ||
binlog_row_innodb_stat.result | ||
binlog_row_insert_select.result | ||
binlog_row_mix_innodb_myisam.result | ||
binlog_row_mysqlbinlog_db_filter.result | ||
binlog_row_mysqlbinlog_verbose.result | ||
binlog_sql_mode.result | ||
binlog_start_comment.result | ||
binlog_statement_insert_delayed.result | ||
binlog_stm_binlog.result | ||
binlog_stm_blackhole.result | ||
binlog_stm_ctype_cp932.result | ||
binlog_stm_ctype_ucs.result | ||
binlog_stm_do_db.result | ||
binlog_stm_drop_tbl.result | ||
binlog_stm_drop_tmp_tbl.result | ||
binlog_stm_innodb_stat.result | ||
binlog_stm_insert_select.result | ||
binlog_stm_mix_innodb_myisam.result | ||
binlog_stm_ps.result | ||
binlog_stm_row.result | ||
binlog_stm_unsafe_warning.result | ||
binlog_stm_user_variables.result | ||
binlog_switch_inside_trans.result | ||
binlog_tmp_table.result | ||
binlog_truncate_innodb.result | ||
binlog_truncate_myisam.result | ||
binlog_unsafe.result | ||
binlog_write_error.result |