mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
9e90516b35
git-svn-id: file:///svn/mysql/tests/mysql-test@48570 c7de825b-a66e-492c-adef-691d508d4ae1
13 lines
458 B
Text
13 lines
458 B
Text
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo, bar;
|
|
create table foo (a int, b int, primary key (a), key (b))engine=tokudb;
|
|
create table bar like foo;
|
|
insert into bar values (1,1),(2,2);
|
|
set session tokudb_load_save_space=1;
|
|
insert ignore into foo select * from bar;
|
|
truncate table foo;
|
|
insert into foo select * from bar on duplicate key update b=100;
|
|
truncate table foo;
|
|
replace into foo select * from bar;
|
|
DROP TABLE foo;
|
|
drop table bar;
|