mariadb/mysql-test/suite/tokudb/r/fast_upsert_char.result
Rich Prohaska 2f83aed670 refs #6440 move fast update tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55030 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 14:23:31 +00:00

19 lines
1,010 B
Text

set default_storage_engine='tokudb';
drop table if exists tt, ti;
set tokudb_disable_slow_upsert=1;
create table tt (id int primary key, c char(32), b binary(32));
create table ti like tt;
alter table ti engine=innodb;
insert noar into tt values (1,null,null) on duplicate key update c='hi';
insert noar into ti values (1,null,null) on duplicate key update c='hi';
include/diff_tables.inc [test.tt, test.ti]
insert noar into tt values (1,null,null) on duplicate key update c='there';
insert noar into ti values (1,null,null) on duplicate key update c='there';
include/diff_tables.inc [test.tt, test.ti]
insert noar into tt values (1,null,null) on duplicate key update b='you';
insert noar into ti values (1,null,null) on duplicate key update b='you';
include/diff_tables.inc [test.tt, test.ti]
insert noar into tt values (1,null,null) on duplicate key update b='people';
insert noar into ti values (1,null,null) on duplicate key update b='people';
include/diff_tables.inc [test.tt, test.ti]
drop table tt, ti;