1SET tx_isolation = 'READ-COMMITTED'; 2Warnings: 3Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead 4CREATE TABLE bug49164 (a INT, b BIGINT, c TINYINT, PRIMARY KEY (a, b)) 5ENGINE=InnoDB; 6insert into bug49164 values (1,1,1), (2,2,2), (3,3,3); 7begin; 8update bug49164 set c=7; 9select * from bug49164; 10a b c 111 1 7 122 2 7 133 3 7 14rollback; 15select * from bug49164; 16a b c 171 1 1 182 2 2 193 3 3 20begin; 21update bug49164 set c=7; 22SET tx_isolation = 'READ-COMMITTED'; 23Warnings: 24Warning 1287 '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead 25begin; 26select * from bug49164; 27a b c 281 1 1 292 2 2 303 3 3 31commit; 32begin; 33update bug49164 set c=6 where a=1 and b=1; 34rollback; 35select * from bug49164; 36a b c 371 1 1 382 2 2 393 3 3 40commit; 41select * from bug49164; 42a b c 431 1 6 442 2 2 453 3 3 46drop table bug49164; 47