mariadb/mysql-test/suite/binlog/r
Konstantin Osipov 946fad3502 Draft patch that fixes and a sketches test cases for:
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.
2010-05-07 20:28:59 +04:00
..
binlog_base64_flag.result merged 5.1 main to 5.1-rpl 2008-08-04 07:04:47 +02:00
binlog_database.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_delete_and_flush_index.result BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_format_switch_in_tmp_table.result Bug #45855 row events in binlog after switch from binlog_fmt=mix to stmt with open tmp tbl 2010-01-26 17:41:15 +08:00
binlog_grant.result WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
binlog_implicit_commit.result Bug #37221: SET AUTOCOMMIT=1 does not commit binary log 2009-09-23 13:20:48 +02:00
binlog_incident.result Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
binlog_index.result BUG#49638 binlog_index fails in mysql-trunk-merge 2009-12-16 19:52:56 +00:00
binlog_innodb.result Draft patch that fixes and a sketches test cases for: 2010-05-07 20:28:59 +04:00
binlog_innodb_row.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_killed.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_killed_simulate.result Manual merge from mysql-trunk-merge. 2010-01-19 19:36:14 +03:00
binlog_max_extension.result BUG#40611: MySQL cannot make a binary log after sequential number 2009-11-22 03:59:48 +00:00
binlog_mix_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_multi_engine.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_old_versions.result
binlog_row_binlog.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_row_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_row_ctype_ucs.result Bug#41371 Select returns 1 row with condition "col is not null and col is null" 2009-11-03 17:54:41 +04:00
binlog_row_drop_tbl.result Backport of revno ## 2617.31.1, 2617.31.3, 2617.31.4, 2617.31.5, 2009-12-05 02:02:48 +03:00
binlog_row_drop_tmp_tbl.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_row_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_row_insert_select.result WL#2687 WL#5072 BUG#40278 BUG#47175 2009-11-03 19:02:56 +00:00
binlog_row_mix_innodb_myisam.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_row_mysqlbinlog_db_filter.result BUG#42941: --database paramater to mysqlbinlog fails with RBR 2009-06-07 23:28:08 +01:00
binlog_row_mysqlbinlog_verbose.result Attempt to fix Windows testcase output issue 2009-10-14 21:25:11 +08:00
binlog_sql_mode.result BUG#39526 sql_mode not retained in binary log for CREATE PROCEDURE 2009-02-28 09:35:18 +08:00
binlog_start_comment.result
binlog_statement_insert_delayed.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_binlog.result BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
binlog_stm_blackhole.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_ctype_cp932.result Merge stella.local:/home2/mydev/mysql-5.1-amain 2008-03-26 10:27:00 +01:00
binlog_stm_ctype_ucs.result merge mysql-5.1-rep+2-delivery1 --> mysql-5.1-rpl-merge 2010-01-07 15:39:11 +00:00
binlog_stm_do_db.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_drop_tbl.result Merge next-mr -> next-4284. 2010-02-05 01:08:08 +03:00
binlog_stm_drop_tmp_tbl.result Manual Merge 2009-11-03 18:20:08 +08:00
binlog_stm_innodb_stat.result BUG#50038 Deadlock on flush logs with concurrent DML and RBR 2010-01-05 16:55:23 +00:00
binlog_stm_insert_select.result WL#2687 WL#5072 BUG#40278 BUG#47175 2009-11-03 19:02:56 +00:00
binlog_stm_mix_innodb_myisam.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_ps.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_row.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_unsafe_warning.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_stm_user_variables.result BUG#49562: SBR out of sync when using numeric data types + user 2010-01-19 23:16:22 +00:00
binlog_switch_inside_trans.result BUG#51277 SUPER_ACL should be checked unconditionally (binlog_format and binlog_direct) 2010-02-24 12:45:15 +00:00
binlog_tmp_table.result BUG#53101: binlog.binlog_tmp_table fails on sol10 sparc64 max in 2010-04-27 12:25:55 +01:00
binlog_truncate_innodb.result Bug #36763 2009-02-06 17:06:41 +01:00
binlog_truncate_myisam.result Bug #36763 2009-02-10 22:26:37 +01:00
binlog_unsafe.result BUG#50670: Slave stops with error code 1644 2010-04-28 14:47:49 +02:00
binlog_write_error.result Merge next-mr -> next-4284. 2010-02-04 23:15:47 +03:00