1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00
Files
mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/5003.result
Sergei Golubchik 9a3b9a5416 tokudb test suites
2013-09-09 13:59:38 +02:00

14 lines
458 B
Plaintext

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;