summaryrefslogtreecommitdiff
path: root/storage/tokudb/mysql-test/tokudb/r/fast_upsert_char.result
blob: aa9be20e7edbc9d16eb49227af32a16b8b3f5471 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set tokudb_enable_fast_upsert=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) on duplicate key update c='hi';
insert into ti values (1,null,null) on duplicate key update c='hi';
include/diff_tables.inc [test.tt, test.ti]
insert into tt values (1,null,null) on duplicate key update c='there';
insert into ti values (1,null,null) on duplicate key update c='there';
include/diff_tables.inc [test.tt, test.ti]
insert into tt values (1,null,null) on duplicate key update b='you';
insert into ti values (1,null,null) on duplicate key update b='you';
include/diff_tables.inc [test.tt, test.ti]
insert into tt values (1,null,null) on duplicate key update b='people';
insert into ti values (1,null,null) on duplicate key update b='people';
include/diff_tables.inc [test.tt, test.ti]
drop table tt, ti;