tokutek/mysql56#24 always set default storage engine to tokudb in the cardinality tests

This commit is contained in:
Rich Prohaska 2013-08-28 10:35:17 -04:00
parent 6a98b2de13
commit ba315739a5
22 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, c int, d int, key(a), key(b), key(c));
insert into tt values (0,0,0,0),(1,0,0,0),(2,0,1,0),(3,0,1,0);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, c int, primary key(a));
insert into tt values (1,0,0),(2,0,0),(3,0,1),(4,0,1);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, c int, key(b), key(c), primary key(a));
insert into tt values (1,0,0),(2,0,0),(3,0,1),(4,0,1);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, c int, key(b), key(c), primary key(a));
insert into tt values (1,0,0),(2,0,0),(3,0,1),(4,0,1);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int);
insert into tt values (1,0),(2,1),(3,2),(4,3);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, primary key(a));
insert into tt values (1,0),(2,1),(3,2),(4,3);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, primary key(a,b));
insert into tt values (0,0),(0,1),(1,0),(1,1);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, primary key(a), key(b));
insert into tt values (4*0,4*0+1),(4*0+1,4*0+2),(4*0+2,4*0+3),(4*0+3,4*0+4);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, key(b));
insert into tt values (1,0),(2,1),(3,2),(4,3);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, key(a,b));
insert into tt values (0,0),(0,1),(1,0),(1,1);

View file

@ -1,3 +1,4 @@
set default_storage_engine='tokudb';
drop table if exists tt;
create table tt (a int, b int, unique key(a));
insert into tt values (1,0),(2,1),(3,2),(4,3);

View file

@ -1,6 +1,7 @@
# test that add and drop works
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,6 +1,7 @@
# test that add index keeps cardinality for older indexes
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,6 +1,7 @@
# test that add index keeps cardinality for older indexes
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,6 +1,7 @@
# test that add index keeps cardinality for older indexes
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;

View file

@ -1,4 +1,5 @@
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
disable_warnings;
drop table if exists tt;