Commit 5b8dfeac authored by Rich Prohaska's avatar Rich Prohaska

Tokutek/mysql56#71 run mysql suite tokudb.bugs without tokudb as the default storage engine

parent d72b161f
set default_storage_engine='tokudb';
drop table if exists t;
create table t (u tinytext, v text);
insert into t values ('hi', 'there');
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
--source include/not_5_5.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
......
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
# test that the query planner chooses a covering index over a non-covering index with the same
# record cost
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
#
# Record inconsistency.
#
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
#
#test update multiple
#
......
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
#
#test update multiple
#
......
# test simple MVCC, that a transaction does not read something committed after it
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
......
source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS t2;
......
source include/have_tokudb.inc;
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS t2;
......
source include/have_tokudb.inc;
let $engine='tokudb';
--disable_warnings
......
# test that query planner selects range scan rather than full scan of the primary key
# see ticket #5733
source include/have_tokudb.inc;
source include/have_innodb.inc;
disable_warnings;
......
source include/have_tokudb.inc;
# verify that the tokudb version string is appended to the mysql version
replace_regex /[0-9]+\.[0-9]+\.[0-9]+[a-z0-9\-\.]*-tokudb-.*/NA.NA.NA-TOKUDB-NA/;
select version();
--source include/have_tokudb.inc
use test;
drop table if exists site;
......
# this test verifies that column expansion of a tinytext to text column retains the correct data
--source include/have_tokudb.inc
set default_storage_engine='tokudb';
--disable_warnings
drop table if exists t;
--enable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
--source include/not_5_5.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
--source include/have_tokudb.inc
let $engine='tokudb';
--disable_warnings
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
......
......@@ -2,6 +2,7 @@
source include/have_tokudb.inc;
source include/have_partition.inc;
set default_storage_engine='tokudb';
# capture the datadir
let $MYSQLD_DATADIR= `SELECT @@datadir`;
......@@ -32,7 +33,7 @@ EOF
--enable_reconnect
--source include/wait_until_connected_again.inc
create table tc (a int, b int, c int, primary key(a), key(b)) partition by hash(a) partitions 2;
create table tc (a int, b int, c int, primary key(a), key(b)) engine=tokudb partition by hash(a) partitions 2;
# check that the tokudb meta data gets dropped when the table is dropped
select dictionary_name from information_schema.tokudb_file_map;
......
# verify that we can drop simple tokudb tables created in tokudb 6.6.8
source include/have_tokudb.inc;
set default_storage_engine='tokudb';
# capture the datadir
let $MYSQLD_DATADIR= `SELECT @@datadir`;
......
-- source include/have_innodb.inc
-- source include/have_tokudb.inc
--source include/have_innodb.inc
--source include/have_tokudb.inc
--disable_warnings
drop table if exists t1, t2;
......
-- source include/have_tokudb.inc
--source include/have_tokudb.inc
--source include/not_5_5.inc
--disable_warnings
......
-- source include/have_tokudb.inc
--source include/have_tokudb.inc
--source include/have_debug.inc
--disable_warnings
......
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