mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
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
This commit is contained in:
parent
c5c9c4a824
commit
2306275500
81 changed files with 105 additions and 105 deletions
|
@ -1,5 +1,5 @@
|
|||
# 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));
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# 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));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# 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;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 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,,);
|
||||
|
|
Loading…
Add table
Reference in a new issue