Commit 2fbad6f3 authored by Rich Prohaska's avatar Rich Prohaska

refs #5545 run mysql mvcc tests run on 5.5 and 5.6

git-svn-id: file:///svn/mysql/tests/mysql-test@48526 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5e334812
# Establish connection conn1 (user = root)
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo,foo_isam;
set session transaction isolation level read committed;
create table foo ( a int, b int, primary key (a));
......
# Establish connection conn1 (user = root)
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo,foo_isam;
set session transaction isolation level read uncommitted;
create table foo ( a int, b int, primary key (a));
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int)engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
create table foo (a int);
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int) engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level serializable;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,foo1;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,foo1;
set session transaction isolation level read uncommitted;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,foo1;
set session transaction isolation level serializable;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,foo1;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session tokudb_load_save_space=0;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session tokudb_load_save_space=1;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo,bar;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
create table foo (a int);
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level serializable;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
set session transaction isolation level repeatable read;
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......@@ -28,7 +28,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -49,7 +49,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......@@ -28,7 +28,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -39,7 +39,7 @@ begin;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -48,7 +48,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -56,7 +56,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -65,7 +65,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level read committed;
......@@ -28,7 +28,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -39,7 +39,7 @@ begin;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -48,7 +48,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -56,7 +56,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -65,7 +65,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level serializable;
......@@ -28,7 +28,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -39,7 +39,7 @@ begin;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# timeout
select * from foo where b=50;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
......@@ -47,7 +47,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -55,7 +55,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -64,7 +64,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level read uncommitted;
......@@ -28,7 +28,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,500)
select * from foo where b=50;
a b c
......@@ -39,7 +39,7 @@ begin;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -48,7 +48,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -56,7 +56,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......@@ -65,7 +65,7 @@ commit;
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo, foo_isam;
set session transaction isolation level repeatable read;
......@@ -29,7 +29,7 @@ a b c
# should use key b
explain select * from foo where b=50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
# should grab a read lock on the main table on (5,50,500)
insert into foo_isam select * from foo where b=50;
# should get (5,50,500)
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session tokudb_load_save_space=1;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session tokudb_load_save_space=0;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo, foo_isam;
set session transaction isolation level repeatable read;
......@@ -17,7 +17,7 @@ create table foo_isam (a int, b int, c int);
# should use key b
explain select * from foo where b=30;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo ref b b 5 const 1 Using where
1 SIMPLE foo ref b b 5 const 1
begin;
insert into foo_isam select * from foo where b=30;
set session transaction isolation level repeatable read;
......
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
# Establish connection conn1 (user = root)
DROP TABLE IF EXISTS foo;
create table foo (a int, b varchar (100), primary key (a)) engine=TokuDB;
......
......@@ -3,7 +3,7 @@
#--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo,foo_isam;
......
......@@ -3,7 +3,7 @@
#--source include/have_tokudb.inc
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo,foo_isam;
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# simple serializable test
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
......@@ -2,7 +2,7 @@
#--source include/have_tokudb.inc
--source include/not_5_5.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# test simple MVCC, that a transaction does not read something committed after it
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
--echo # Establish connection conn1 (user = root)
......
......@@ -3,7 +3,7 @@
#--source include/have_tokudb.inc
--source include/not_5_5.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
......
......@@ -2,7 +2,7 @@
#--source include/have_tokudb.inc
--source include/not_5_5.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify that serializable properly reads provisional delete and actual value
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# simple keyrange64 test, ensure that it reads number of leafentries in the system
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
......@@ -2,7 +2,7 @@
set session transaction isolation level repeatable read;
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# simple keyrange64 test, ensure that it reads number of leafentries in the system
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# simple keyrange64 test, ensure that it reads number of leafentries in the system
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify a db_get sees data that transaction inserted, and that it does not read data that is too new
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify a db_get does not read a transaction's data because it is in live list
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify a db_get does not read a read committed transaction's data because it is in live list
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify a db_get does not read a read committed transaction's data because it is in live list
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify a db_get does not read a read committed transaction's data because it is in live list
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# test that we read data that was committed before we began
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
--echo # Establish connection conn1 (user = root)
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify that repeatable read uses one snapshot, whereas read committed keeps taking new ones
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
set session transaction isolation level repeatable read;
--echo # Establish connection conn1 (user = root)
......
# make sure reads done during writes take read locks
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# make sure reads done during writes take read locks
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# verify that serializable get of a repeatable read transaction grabs read lock
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
# ticket 895 is a query optimization problem with the primary key
#--source include/have_tokudb.inc
SET STORAGE_ENGINE = 'tokudb';
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--echo # Establish connection conn1 (user = root)
connect (conn1,localhost,root,,);
......
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