summaryrefslogtreecommitdiff
path: root/mysql-test/suite/tokudb/r/locks-delete-deadlock-1.result
blob: d2feccac563a11893ffa2f8983331fe035f54b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
SET DEFAULT_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;
delete from t where b>0;
set transaction isolation level serializable;
select * from t where a!=2;
commit;
a	b
1	0
3	0
drop table t;