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