1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

[t:4288], remove mvcc-32, test is no longer valid with changes to garbage collection due to flusher threads

git-svn-id: file:///svn/mysql/tests/mysql-test@39543 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff
2012-02-03 19:28:42 +00:00
parent 830d5308eb
commit 84089d0afb
2 changed files with 0 additions and 43 deletions

View File

@@ -1,21 +0,0 @@
SET STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
create table foo (a int, b int, primary key (a))engine=TokuDB;
insert into foo values (1,10),(2,20),(3,30),(4,40),(5,50),(6,60),(7,70),(8,80),(9,90);
insert into foo values (10,100),(20,200),(30,300),(40,400),(50,500),(60,600),(70,700),(80,800),(90,900);
# row estimate should be 6
explain select count(*) from foo where a > 30;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL 6 Using where; Using index
select count(*) from foo where a > 30;
count(*)
6
delete from foo where a > 50;
# row estimate should be 2
explain select count(*) from foo where a > 30;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL 2 Using where; Using index
select count(*) from foo where a > 30;
count(*)
2
DROP TABLE foo;

View File

@@ -1,22 +0,0 @@
# tests that deletes are cleaned by verifying that row estimate goes down
SET STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
create table foo (a int, b int, primary key (a))engine=TokuDB;
insert into foo values (1,10),(2,20),(3,30),(4,40),(5,50),(6,60),(7,70),(8,80),(9,90);
insert into foo values (10,100),(20,200),(30,300),(40,400),(50,500),(60,600),(70,700),(80,800),(90,900);
--echo # row estimate should be 6
explain select count(*) from foo where a > 30;
select count(*) from foo where a > 30;
delete from foo where a > 50;
--echo # row estimate should be 2
explain select count(*) from foo where a > 30;
select count(*) from foo where a > 30;
DROP TABLE foo;