Commit 82163433 authored by Zardosht Kasheff's avatar Zardosht Kasheff

[t:5003], expand test a bit

git-svn-id: file:///svn/mysql/tests/mysql-test@44277 c7de825b-a66e-492c-adef-691d508d4ae1
parent dad4245c
...@@ -5,5 +5,9 @@ create table bar like foo; ...@@ -5,5 +5,9 @@ create table bar like foo;
insert into bar values (1,1),(2,2); insert into bar values (1,1),(2,2);
set session tokudb_load_save_space=1; set session tokudb_load_save_space=1;
insert ignore into foo select * from bar; 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 foo;
drop table bar; drop table bar;
...@@ -13,7 +13,15 @@ create table foo (a int, b int, primary key (a), key (b))engine=tokudb; ...@@ -13,7 +13,15 @@ create table foo (a int, b int, primary key (a), key (b))engine=tokudb;
create table bar like foo; create table bar like foo;
insert into bar values (1,1),(2,2); insert into bar values (1,1),(2,2);
set session tokudb_load_save_space=1; set session tokudb_load_save_space=1;
insert ignore into foo select * from bar; 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;
# Final cleanup. # Final cleanup.
DROP TABLE foo; DROP TABLE foo;
......
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