mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-19544 Remove innodb_locks_unsafe_for_binlog
The transaction isolation levels READ COMMITTED and READ UNCOMMITTED should behave similarly to the old deprecated setting innodb_locks_unsafe_for_binlog=1, that is, avoid acquiring gap locks. row_search_mvcc(): Reduce the scope of some variables, and clean up the initialization and use of the variable set_also_gap_locks.
This commit is contained in:
@ -261,8 +261,7 @@ let $statement= show keys from t1;
|
||||
--echo # statement-by-statement) and thanks to MVCC we can always get
|
||||
--echo # versions of rows prior to the update that has locked them.
|
||||
--echo # But in practice InnoDB does locking reads for all statements
|
||||
--echo # other than SELECT (unless it is a READ-COMITTED mode or
|
||||
--echo # innodb_locks_unsafe_for_binlog is ON).
|
||||
--echo # other than SELECT (unless READ UNCOMMITTED or READ COMMITTED).
|
||||
let $statement= call p1((select i + 5 from t1 where i = 1));
|
||||
let $wait_statement= $statement;
|
||||
--source include/check_shared_row_lock.inc
|
||||
|
Reference in New Issue
Block a user