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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0954bcb6
Commit
0954bcb6
authored
Sep 13, 2019
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post fix after the patch for MDEV-20576.
Adjusted test results.
parent
deb9121f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
+17
-17
mysql-test/r/selectivity_innodb.result
mysql-test/r/selectivity_innodb.result
+10
-10
mysql-test/t/selectivity.test
mysql-test/t/selectivity.test
+1
-1
storage/tokudb/mysql-test/tokudb/r/mvcc-29.result
storage/tokudb/mysql-test/tokudb/r/mvcc-29.result
+2
-2
storage/tokudb/mysql-test/tokudb/r/mvcc-30.result
storage/tokudb/mysql-test/tokudb/r/mvcc-30.result
+2
-2
storage/tokudb/mysql-test/tokudb/r/mvcc-31.result
storage/tokudb/mysql-test/tokudb/r/mvcc-31.result
+2
-2
No files found.
mysql-test/r/selectivity_innodb.result
View file @
0954bcb6
...
...
@@ -1726,7 +1726,7 @@ b INT NOT NULL,
c char(100),
KEY (b, c),
KEY (b, a, c)
)
)
ENGINE=MyISAM
DEFAULT CHARSET = utf8;
INSERT INTO t1 VALUES
(1, 1, 1),
...
...
@@ -1749,18 +1749,18 @@ INSERT INTO t1 SELECT a + 1280, b, c FROM t1 LIMIT 80;
EXPLAIN
SELECT a FROM t1 WHERE b = 1 ORDER BY c DESC LIMIT 9;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 r
ef b,b_2 b_2 4 const 207 Using where; Using index; Using filesort
1 SIMPLE t1 r
ange b,b_2 b 4 NULL 226 Using where
SELECT a FROM t1 WHERE b = 1 ORDER BY c DESC LIMIT 9;
a
2071
8
1
7
1
6
1
5
1
4
1
3
1
21
11
206
1
205
1
204
1
203
1
202
1
201
1
2
00
1
1
99
1
set optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
DROP TABLE t1;
# End of 10.1 tests
...
...
mysql-test/t/selectivity.test
View file @
0954bcb6
...
...
@@ -1174,7 +1174,7 @@ CREATE TABLE t1 (
c
char
(
100
),
KEY
(
b
,
c
),
KEY
(
b
,
a
,
c
)
)
)
ENGINE
=
MyISAM
DEFAULT
CHARSET
=
utf8
;
INSERT
INTO
t1
VALUES
...
...
storage/tokudb/mysql-test/tokudb/r/mvcc-29.result
View file @
0954bcb6
...
...
@@ -26,7 +26,7 @@ delete from foo where a > 5;
# number of rows should be 9
explain select * from foo where a > 1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
9
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# should have just 4 values
select * from foo where a > 1;
a b
...
...
@@ -37,7 +37,7 @@ a b
# number of rows should be 9
explain select * from foo where a > 1;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
9
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# 9 values
select * From foo where a > 1;
a b
...
...
storage/tokudb/mysql-test/tokudb/r/mvcc-30.result
View file @
0954bcb6
...
...
@@ -26,7 +26,7 @@ delete from foo where a < 10;
# number of rows should be 9
explain select * from foo where a < 50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
9
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# should have just 4 values
select * from foo where a < 50;
a b
...
...
@@ -37,7 +37,7 @@ a b
# number of rows should be 9
explain select * from foo where a < 50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
9
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# 9 values
select * From foo where a < 50;
a b
...
...
storage/tokudb/mysql-test/tokudb/r/mvcc-31.result
View file @
0954bcb6
...
...
@@ -26,7 +26,7 @@ delete from foo where a = 2 or a = 4 or a = 10 or a = 30 or a = 50;
# number of rows should be 8
explain select * from foo where a > 1 and a < 50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
8
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# should have just 4 values
select * from foo where a > 1 and a < 50;
a b
...
...
@@ -37,7 +37,7 @@ a b
# number of rows should be 8
explain select * from foo where a > 1 and a < 50;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
8
Using where
1 SIMPLE foo range PRIMARY PRIMARY 4 NULL
5
Using where
# 8 values
select * from foo where a > 1 and a < 50;
a b
...
...
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