1set session sql_mode=(select replace(@@sql_mode,'STRICT_TRANS_TABLES','')); 2set session sql_mode=(select replace(@@sql_mode,'STRICT_ALL_TABLES','')); 3set tokudb_enable_fast_upsert=1; 4create table t (id int primary key, x int not null) engine = tokudb; 5insert into t values (1,1); 6insert into t values (1,1) on duplicate key update x=x+1; 7select * from t; 8id x 91 2 10insert into t values (1,10) on duplicate key update x=values(x)+1; 11ERROR 42000: Table 't' uses an extension that doesn't exist in this XYZ version 12select * from t; 13id x 141 2 15insert into t values (1,10) on duplicate key update x=x+values(x); 16select * from t; 17id x 181 12 19insert into t values (1,100) on duplicate key update x=x+values(x); 20select * from t; 21id x 221 112 23drop table t; 24