Commit 48754233 authored by Zardosht Kasheff's avatar Zardosht Kasheff

[t:5003], add test

git-svn-id: file:///svn/mysql/tests/mysql-test@44233 c7de825b-a66e-492c-adef-691d508d4ae1
parent a0f228ec
SET 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;
DROP TABLE foo;
drop table bar;
--source include/have_tokudb.inc
#
# Record inconsistency.
#
#
SET STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo, bar;
--enable_warnings
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;
# Final cleanup.
DROP TABLE foo;
drop table bar;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment