mariadb/mysql-test/suite/tokudb/t/fast_upsert_bin_pad.test
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

25 lines
610 B
Text

source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists t0, t1;
enable_warnings;
set tokudb_disable_slow_upsert=1;
create table t0 (id int primary key, b binary(32));
create table t1 like t0;
insert noar into t0 values (1,'hi'),(2,'there');
select * from t0;
insert noar into t1 values (1,null),(2,null);
insert noar into t1 values (1,null) on duplicate key update b='hi';
insert noar into t1 values (2,null) on duplicate key update b='there';
select * from t1;
let $diff_tables = test.t0, test.t1;
source include/diff_tables.inc;
drop table t0, t1;