1
set default_storage_engine='tokudb';
2
drop table if exists t;
3
set tokudb_disable_slow_update=1;
4
create table t (id int primary key, x int not null);
5
insert into t values (1,0);
6
update noar t set x=42 where id=1;
7
update noar t set x=x+1 where id=1;
8
update noar t set x=x-1 where id=1;
9
set session sql_mode="NO_ENGINE_SUBSTITUTION,traditional";
10
update noar t set x=42 where id=1;
11
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
12
update noar t set x=x+1 where id=1;
13
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
14
update noar t set x=x-1 where id=1;
15
ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version
16
set session sql_mode="NO_ENGINE_SUBSTITUTION";