summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/r/locks-delete-deadlock-1.result
blob: 59fe0a606c7b7ccaa73949a97640490f5c21ee3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SET DEFAULT_STORAGE_ENGINE='tokudb';
drop table if exists t;
connect conn1,localhost,root;
connection default;
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;
connection conn1;
set transaction isolation level serializable;
select * from t where a!=2;
connection default;
commit;
connection conn1;
a	b
1	0
3	0
connection default;
disconnect conn1;
drop table t;