mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
tokutek/mysql56#24 always set default storage engine to tokudb in the cardinality tests
This commit is contained in:
parent
6a98b2de13
commit
ba315739a5
22 changed files with 22 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
|
||||
disable_warnings;
|
||||
drop table if exists tt;
|
||||
|
|
Loading…
Add table
Reference in a new issue