Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d278fb49
Commit
d278fb49
authored
Oct 08, 2015
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed tokudb test result to make it stable (was altering between index and range)
parent
4a602046
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
34 deletions
+32
-34
storage/tokudb/mysql-test/tokudb/r/cluster_filter_hidden.result
...e/tokudb/mysql-test/tokudb/r/cluster_filter_hidden.result
+16
-16
storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
...age/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
+16
-18
No files found.
storage/tokudb/mysql-test/tokudb/r/cluster_filter_hidden.result
View file @
d278fb49
...
@@ -9,7 +9,7 @@ insert into t1 values (4,40,400,4000,40000,400000);
...
@@ -9,7 +9,7 @@ insert into t1 values (4,40,400,4000,40000,400000);
insert into t1 values (5,50,500,5000,50000,500000);
insert into t1 values (5,50,500,5000,50000,500000);
explain select * from t1;
explain select * from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL b NULL NULL NULL
;
Using index
1 SIMPLE t1 index NULL b NULL NULL NULL Using index
select * from t1;
select * from t1;
a b c d e f
a b c d e f
1 10 100 1000 10000 100000
1 10 100 1000 10000 100000
...
@@ -19,7 +19,7 @@ a b c d e f
...
@@ -19,7 +19,7 @@ a b c d e f
5 50 500 5000 50000 500000
5 50 500 5000 50000 500000
explain select * from t1 where b > 0;
explain select * from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index b b NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
select * from t1 where b > 0;
select * from t1 where b > 0;
a b c d e f
a b c d e f
1 10 100 1000 10000 100000
1 10 100 1000 10000 100000
...
@@ -29,7 +29,7 @@ a b c d e f
...
@@ -29,7 +29,7 @@ a b c d e f
5 50 500 5000 50000 500000
5 50 500 5000 50000 500000
explain select * from t1 where d > 0;
explain select * from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select * from t1 where d > 0;
select * from t1 where d > 0;
a b c d e f
a b c d e f
1 10 100 1000 10000 100000
1 10 100 1000 10000 100000
...
@@ -39,7 +39,7 @@ a b c d e f
...
@@ -39,7 +39,7 @@ a b c d e f
5 50 500 5000 50000 500000
5 50 500 5000 50000 500000
explain select a from t1 where d > 0;
explain select a from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select a from t1 where d > 0;
select a from t1 where d > 0;
a
a
1
1
...
@@ -71,7 +71,7 @@ e f
...
@@ -71,7 +71,7 @@ e f
update t1 set a = a+1, b = b+10;
update t1 set a = a+1, b = b+10;
explain select * from t1;
explain select * from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL b NULL NULL NULL
;
Using index
1 SIMPLE t1 index NULL b NULL NULL NULL Using index
select * from t1;
select * from t1;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
...
@@ -81,7 +81,7 @@ a b c d e f
...
@@ -81,7 +81,7 @@ a b c d e f
6 60 500 5000 50000 500000
6 60 500 5000 50000 500000
explain select * from t1 where b > 0;
explain select * from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index b b NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
select * from t1 where b > 0;
select * from t1 where b > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
...
@@ -91,7 +91,7 @@ a b c d e f
...
@@ -91,7 +91,7 @@ a b c d e f
6 60 500 5000 50000 500000
6 60 500 5000 50000 500000
explain select * from t1 where d > 0;
explain select * from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select * from t1 where d > 0;
select * from t1 where d > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
...
@@ -101,7 +101,7 @@ a b c d e f
...
@@ -101,7 +101,7 @@ a b c d e f
6 60 500 5000 50000 500000
6 60 500 5000 50000 500000
explain select a from t1 where d > 0;
explain select a from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select a from t1 where d > 0;
select a from t1 where d > 0;
a
a
2
2
...
@@ -133,28 +133,28 @@ e f
...
@@ -133,28 +133,28 @@ e f
delete from t1 where b > 35;
delete from t1 where b > 35;
explain select * from t1;
explain select * from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL b NULL NULL NULL
;
Using index
1 SIMPLE t1 index NULL b NULL NULL NULL Using index
select * from t1;
select * from t1;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select * from t1 where b > 0;
explain select * from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index b b NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
select * from t1 where b > 0;
select * from t1 where b > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select * from t1 where d > 0;
explain select * from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select * from t1 where d > 0;
select * from t1 where d > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select a from t1 where d > 0;
explain select a from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
select a from t1 where d > 0;
select a from t1 where d > 0;
a
a
2
2
...
@@ -175,28 +175,28 @@ alter table t1 drop index b, drop index d;
...
@@ -175,28 +175,28 @@ alter table t1 drop index b, drop index d;
alter table t1 add key b(b) clustering=yes, add index d(d,a) clustering=yes;
alter table t1 add key b(b) clustering=yes, add index d(d,a) clustering=yes;
explain select * from t1;
explain select * from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL b NULL NULL NULL
;
Using index
1 SIMPLE t1 index NULL b NULL NULL NULL Using index
select * from t1;
select * from t1;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select * from t1 where b > 0;
explain select * from t1 where b > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
index b b NULL NULL NULL;
Using where; Using index
1 SIMPLE t1
X b b NULL NULL NULL
Using where; Using index
select * from t1 where b > 0;
select * from t1 where b > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select * from t1 where d > 0;
explain select * from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1
index d d NULL NULL NULL;
Using where; Using index
1 SIMPLE t1
X d d NULL NULL NULL
Using where; Using index
select * from t1 where d > 0;
select * from t1 where d > 0;
a b c d e f
a b c d e f
2 20 100 1000 10000 100000
2 20 100 1000 10000 100000
3 30 200 2000 20000 200000
3 30 200 2000 20000 200000
explain select a from t1 where d > 0;
explain select a from t1 where d > 0;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 NULL d d NULL NULL NULL
;
Using where; Using index
1 SIMPLE t1 NULL d d NULL NULL NULL Using where; Using index
select a from t1 where d > 0;
select a from t1 where d > 0;
a
a
2
2
...
...
storage/tokudb/mysql-test/tokudb/t/cluster_filter_hidden.test
View file @
d278fb49
...
@@ -14,19 +14,19 @@ insert into t1 values (4,40,400,4000,40000,400000);
...
@@ -14,19 +14,19 @@ insert into t1 values (4,40,400,4000,40000,400000);
insert
into
t1
values
(
5
,
50
,
500
,
5000
,
50000
,
500000
);
insert
into
t1
values
(
5
,
50
,
500
,
5000
,
50000
,
500000
);
# ignore key_len and rows columns
# ignore key_len and rows columns
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
;
explain
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t1
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
b
>
0
;
explain
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
d
>
0
;
explain
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
a
from
t1
where
d
>
0
;
explain
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
...
@@ -34,19 +34,19 @@ select e,f from t1 where b > 0;
...
@@ -34,19 +34,19 @@ select e,f from t1 where b > 0;
select
e
,
f
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
d
>
0
;
update
t1
set
a
=
a
+
1
,
b
=
b
+
10
;
update
t1
set
a
=
a
+
1
,
b
=
b
+
10
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
;
explain
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t1
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
b
>
0
;
explain
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
d
>
0
;
explain
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
a
from
t1
where
d
>
0
;
explain
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
...
@@ -54,19 +54,19 @@ select e,f from t1 where b > 0;
...
@@ -54,19 +54,19 @@ select e,f from t1 where b > 0;
select
e
,
f
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
d
>
0
;
delete
from
t1
where
b
>
35
;
delete
from
t1
where
b
>
35
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
;
explain
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t1
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
b
>
0
;
explain
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
where
d
>
0
;
explain
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
a
from
t1
where
d
>
0
;
explain
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
...
@@ -78,25 +78,23 @@ alter table t1 drop index b, drop index d;
...
@@ -78,25 +78,23 @@ alter table t1 drop index b, drop index d;
alter
table
t1
add
key
b
(
b
)
clustering
=
yes
,
add
index
d
(
d
,
a
)
clustering
=
yes
;
alter
table
t1
add
key
b
(
b
)
clustering
=
yes
,
add
index
d
(
d
,
a
)
clustering
=
yes
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
7
NULL
9
NULL
explain
select
*
from
t1
;
explain
select
*
from
t1
;
select
*
from
t1
;
select
*
from
t1
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
4
X
7
NULL
9
NULL
explain
select
*
from
t1
where
b
>
0
;
explain
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
select
*
from
t1
where
b
>
0
;
--
replace_column
7
NULL
9
NULL
;
--
replace_column
4
X
7
NULL
9
NULL
explain
select
*
from
t1
where
d
>
0
;
explain
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
select
*
from
t1
where
d
>
0
;
--
replace_column
4
NULL
7
NULL
9
NULL
;
--
replace_column
4
NULL
7
NULL
9
NULL
explain
select
a
from
t1
where
d
>
0
;
explain
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
a
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
select
e
,
f
from
t1
where
c
>
0
;
select
e
,
f
from
t1
where
b
>
0
;
select
e
,
f
from
t1
where
b
>
0
;
select
e
,
f
from
t1
where
d
>
0
;
select
e
,
f
from
t1
where
d
>
0
;
DROP
TABLE
t1
;
DROP
TABLE
t1
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment