Commit b7a93865 authored by Rich Prohaska's avatar Rich Prohaska

refs #5545 use default_storage_engine in mysql alter table tests

git-svn-id: file:///svn/mysql/tests/mysql-test@48564 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4f4258be
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
DROP TABLE IF EXISTS foo;
SET SESSION tokudb_disable_slow_alter=1;
CREATE TABLE foo (a INT, b INT, PRIMARY KEY (a)) PARTITION BY HASH(a) PARTITIONS 2;
......
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
DROP TABLE IF EXISTS foo;
SET SESSION tokudb_disable_slow_alter=1;
CREATE TABLE foo (a INT NOT NULL DEFAULT 0, b INT DEFAULT NULL);
......
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
DROP TABLE IF EXISTS foo;
SET SESSION tokudb_disable_slow_alter=1;
CREATE TABLE foo (a INT, b INT, PRIMARY KEY (a)) PARTITION BY HASH(a) PARTITIONS 2;
......
SET STORAGE_ENGINE='tokudb';
SET DEFAULT_STORAGE_ENGINE='tokudb';
DROP TABLE IF EXISTS foo;
set session tokudb_disable_slow_alter=ON;
create table foo (a int, b varchar(10), c blob)engine=TokuDB;
......
SET STORAGE_ENGINE='tokudb';
SET DEFAULT_STORAGE_ENGINE='tokudb';
DROP TABLE IF EXISTS foo,bar;
set session tokudb_disable_slow_alter=ON;
create table foo (aa int, bb int, cc int, dd int, ee int, a int, b varchar(20), c int, d int, e int, primary key (e), key(d), unique key(c), clustering key (b))engine=TokuDB;
......
--source include/have_tokudb.inc
--source include/have_partition.inc
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
......
--source include/have_tokudb.inc
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
......
--source include/have_tokudb.inc
--source include/have_partition.inc
SET STORAGE_ENGINE='TokuDB';
SET DEFAULT_STORAGE_ENGINE='TokuDB';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
......
#--source include/have_tokudb.inc
SET STORAGE_ENGINE='tokudb';
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
......
#--source include/have_tokudb.inc
SET STORAGE_ENGINE='tokudb';
SET DEFAULT_STORAGE_ENGINE='tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo,bar;
......
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