mariadb/mysql-test/suite/tokudb.locks/r/update-deadlock-1.result
Rich Prohaska b882892cea #3557 merge write locking test bug fixes from 5.0.5 to main refs[t:3557]
git-svn-id: file:///svn/mysql/tests/mysql-test@32094 c7de825b-a66e-492c-adef-691d508d4ae1
2011-06-26 19:07:07 +00:00

13 lines
281 B
Text

set storage_engine='tokudb';
drop table if exists t;
create table t (a int primary key, b int);
insert into t values (1,0),(2,1),(3,0);
begin;
update t set b=b+1 where b>0;
set transaction isolation level serializable;
select * from t where a!=2;
commit;
a b
1 0
3 0
drop table t;