create table t (a int primary key, b int) ENGINE=TokuDB; insert into t values (1,0); set session transaction isolation level repeatable read; begin; select * from t where a=1 lock in share mode; a b 1 0 connect conn1,localhost,root; set session transaction isolation level repeatable read; begin; update t set b=b+1 where a=1; ERROR HY000: Lock wait timeout exceeded; try restarting transaction connection default; commit; disconnect conn1; drop table t;