set tokudb_enable_fast_update=1; set session sql_mode=(select replace(@@sql_mode,'STRICT_TRANS_TABLES','')); set session sql_mode=(select replace(@@sql_mode,'STRICT_ALL_TABLES','')); create table tt (id int primary key, c char(32), b binary(32)) engine = tokudb; create table ti like tt; alter table ti engine=innodb; insert into tt values (1,null,null); insert into ti values (1,null,null); update tt set c='hi' where id=1; update ti set c='hi' where id=1; include/diff_tables.inc [test.tt, test.ti] update tt set c='there' where id=1; update ti set c='there' where id=1; include/diff_tables.inc [test.tt, test.ti] drop table tt, ti; create table tt (id char(8) primary key, c char(32), b binary(32)) engine = tokudb; create table ti like tt; alter table ti engine=innodb; insert into tt values ('1',null,null); insert into ti values ('1',null,null); update tt set c='hi' where id='1'; update ti set c='hi' where id='1'; include/diff_tables.inc [test.tt, test.ti] update tt set c='there' where id='1'; update ti set c='there' where id='1'; include/diff_tables.inc [test.tt, test.ti] drop table tt, ti; create table tt (id varchar(8) primary key, a int, b char(32), c char(32), d binary(32)) engine = tokudb; create table ti like tt; alter table ti engine=innodb; insert into tt values ('1',null,null,null,null); insert into ti values ('1',null,null,null,null); update tt set b='hi' where id='1'; update ti set b='hi' where id='1'; include/diff_tables.inc [test.tt, test.ti] update tt set c='there' where id='1'; update ti set c='there' where id='1'; include/diff_tables.inc [test.tt, test.ti] drop table tt, ti; create table tt (id varchar(8) primary key, a int, b char(32), c char(32), d binary(32)) engine = tokudb; create table ti like tt; alter table ti engine=innodb; insert into tt values ('1',null,null,null,null); insert into ti values ('1',null,null,null,null); update tt set b='123' where id='1'; update ti set b='123' where id='1'; include/diff_tables.inc [test.tt, test.ti] update tt set c=456 where id='1'; update ti set c=456 where id='1'; include/diff_tables.inc [test.tt, test.ti] update tt set c=789 where id=1; update ti set c=789 where id=1; include/diff_tables.inc [test.tt, test.ti] drop table tt, ti;