summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb_bugs/r/db801.result
blob: 800db69ba398bcac01923f3b27d8da9f4385d84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set default_storage_engine=tokudb;
drop table if exists t;
create table t (id int not null primary key, c int not null) engine=tokudb;
insert into t values (1,0);
begin;
update t set c=10 where id=1;
update t set c=100;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
rollback;
drop table t;
create table t (id int not null primary key, c int not null) engine=tokudb partition by hash(id) partitions 1;
insert into t values (1,0);
begin;
update t set c=10 where id=1;
update t set c=100;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
rollback;
drop table t;