mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Revert of the push of bug #20837 due to failing regression tests.
This commit is contained in:
@ -536,30 +536,4 @@ DROP PROCEDURE p1;
|
||||
DROP VIEW v1;
|
||||
DROP TABLE t1,t2;
|
||||
|
||||
|
||||
--echo #
|
||||
--echo # Bug #20837 Apparent change of isolation
|
||||
--echo # level during transaction
|
||||
--echo #
|
||||
|
||||
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ;
|
||||
CREATE TABLE t1 (s1 INT) ENGINE=InnoDB;
|
||||
INSERT INTO t1 VALUES (1),(2);
|
||||
COMMIT;
|
||||
|
||||
SET @@autocommit = 0;
|
||||
COMMIT;
|
||||
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
|
||||
START TRANSACTION;
|
||||
SELECT * FROM t1;
|
||||
--echo Should be READ UNCOMMITTED
|
||||
SELECT @@tx_isolation;
|
||||
INSERT INTO t1 VALUES (-1);
|
||||
--echo Should be READ UNCOMMITTED
|
||||
SELECT @@tx_isolation;
|
||||
COMMIT;
|
||||
--echo Should now be REPEATABLE READ
|
||||
SELECT @@tx_isolation;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo End of 5.1 tests
|
||||
|
Reference in New Issue
Block a user