mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
2f83aed670
git-svn-id: file:///svn/mysql/tests/mysql-test@55030 c7de825b-a66e-492c-adef-691d508d4ae1
25 lines
610 B
Text
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;
|
|
|