1### connection default 2CREATE TABLE t (a INT PRIMARY KEY, b INT) ENGINE=TokuDB; 3INSERT INTO t (a, b) VALUES (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), 4(6, 6), (7, 7), (8, 8), (9, 9), (10, 10), 5(11, 11), (12, 12), (13, 13), (14, 14), (15, 15), 6(16, 16), (17, 17), (18, 18), (19, 19), (20, 20); 7### connection con1 8SET DEBUG_SYNC= 'toku_range_lock_granted_immediately SIGNAL lock_granted WAIT_FOR lock_granted_continue'; 9UPDATE t SET b=1 WHERE a BETWEEN 5 AND 10; 10### connection default 11SET DEBUG_SYNC= 'now WAIT_FOR lock_granted'; 12### connection con2 13SET DEBUG_SYNC= 'toku_range_lock_before_wait SIGNAL lock_not_granted WAIT_FOR lock_not_granted_continue'; 14SET DEBUG_SYNC= 'toku_range_lock_not_granted_after_wait SIGNAL lock_not_granted_after_wait'; 15UPDATE t SET b=1 WHERE a BETWEEN 5 AND 10; 16### connection default 17SET DEBUG_SYNC= 'now SIGNAL lock_not_granted_continue WAIT_FOR lock_not_granted'; 18KILL QUERY con2_id 19SET DEBUG_SYNC= 'now SIGNAL lock_granted_continue WAIT_FOR lock_not_granted_after_wait'; 20### connection con1 21### reap 22### connection con2 23### reap 24ERROR 70100: Query execution was interrupted 25### connection default 26DROP TABLE t; 27