ParamNum:2 0-1-DROP TABLE IF EXISTS t1; 0-1-CREATE TABLE t1 (k INT PRIMARY KEY, v INT); 0-1-INSERT INTO t1 VALUES (0, 0); 0-1-INSERT INTO t1 VALUES (1, 0); 0-1-COMMIT; 1-1-BEGIN; 2-1-UPDATE t1 SET v=1 WHERE k=0; 3-2-BEGIN; 4-2-SELECT * from t1 WHERE k=1; 5-2-UPDATE t1 SET v=2 WHERE k=0; 6-1-UPDATE t1 SET v=1 WHERE k=1; 7-1-COMMIT; 8-2-COMMIT; 9-3-SELECT * from t1 ORDER BY k; 10-3-COMMIT; serializable { 4-1,1 9-0,2 1,1 4-1,0 9-0,1 1,1 }