Commit d2fee367 authored by Rich Prohaska's avatar Rich Prohaska

refs #5545 baseline mysql mvcc result files is mysql 5.5

git-svn-id: file:///svn/mysql/tests/mysql-test@48531 c7de825b-a66e-492c-adef-691d508d4ae1
parent 23062755
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# should get (5,50,500)
select * from foo where b=50;
a b c
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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
1 SIMPLE foo ref b b 5 const 1 Using where
# should get (5,50,1515)
select * from foo where b=50;
a b c
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
# 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)
......
......@@ -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
1 SIMPLE foo ref b b 5 const 1 Using where
begin;
insert into foo_isam select * from foo where b=30;
set session transaction isolation level repeatable read;
......
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