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
38e21c70
Commit
38e21c70
authored
Sep 06, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various test failures post-merge
parent
244f0e6d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
17 deletions
+4
-17
mysql-test/main/selectivity.result
mysql-test/main/selectivity.result
+0
-2
mysql-test/main/selectivity.test
mysql-test/main/selectivity.test
+0
-2
mysql-test/main/selectivity_innodb.result
mysql-test/main/selectivity_innodb.result
+3
-5
mysql-test/suite/period/r/versioning.result
mysql-test/suite/period/r/versioning.result
+0
-4
mysql-test/suite/period/t/versioning.test
mysql-test/suite/period/t/versioning.test
+1
-4
No files found.
mysql-test/main/selectivity.result
View file @
38e21c70
...
...
@@ -1634,8 +1634,6 @@ SELECT @cnt;
@cnt
2
alter table t1 force;
set @@use_stat_tables= @save_use_stat_tables;
set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
drop table t1;
drop function f1;
#
...
...
mysql-test/main/selectivity.test
View file @
38e21c70
...
...
@@ -1102,8 +1102,6 @@ set @@optimizer_use_condition_selectivity=4;
SELECT
*
FROM
t1
WHERE
a
=
f1
();
SELECT
@
cnt
;
alter
table
t1
force
;
set
@@
use_stat_tables
=
@
save_use_stat_tables
;
set
@@
optimizer_use_condition_selectivity
=@
save_optimizer_use_condition_selectivity
;
drop
table
t1
;
drop
function
f1
;
...
...
mysql-test/main/selectivity_innodb.result
View file @
38e21c70
...
...
@@ -1644,8 +1644,6 @@ SELECT @cnt;
@cnt
2
alter table t1 force;
set @@use_stat_tables= @save_use_stat_tables;
set @@optimizer_use_condition_selectivity=@save_optimizer_use_condition_selectivity;
drop table t1;
drop function f1;
#
...
...
@@ -1661,19 +1659,19 @@ test.t1 analyze status OK
# Check what info the optimizer has about selectivities
explain extended select * from t1 use index () where a in (17,51,5);
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 10
91 3.83
Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 10
00 3.90
Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where `test`.`t1`.`a` in (17,51,5)
explain extended select * from t1 use index () where b=2;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 10
91
5.47 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 10
00
5.47 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` USE INDEX () where `test`.`t1`.`b` = 2
# Now, the equality is used for ref access, while the range condition
# gives selectivity data
explain extended select * from t1 where a in (17,51,5) and b=2;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ref|filter b,a b|a 5|5 const 59 (3%) 2.
66
Using where; Using rowid filter
1 SIMPLE t1 ref|filter b,a b|a 5|5 const 59 (3%) 2.
90
Using where; Using rowid filter
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`b` = 2 and `test`.`t1`.`a` in (17,51,5)
drop table t1;
...
...
mysql-test/suite/period/r/versioning.result
View file @
38e21c70
...
...
@@ -87,8 +87,4 @@ x s e if(row_start = @ins_time, "OLD", "NEW") check_row(row_start, row_end)
2 1999-01-01 1999-12-12 OLD CURRENT ROW
6 2000-01-01 2018-01-01 NEW CURRENT ROW
drop table t,log_tbl;
drop function check_row;
drop function current_row;
drop procedure verify_trt;
drop procedure verify_trt_dummy;
drop procedure log;
mysql-test/suite/period/t/versioning.test
View file @
38e21c70
...
...
@@ -57,8 +57,5 @@ select *, if(row_start = @ins_time, "OLD", "NEW"), check_row(row_start, row_end)
order
by
x
,
s
,
e
,
row_start
;
drop
table
t
,
log_tbl
;
drop
function
check_row
;
drop
function
current_row
;
drop
procedure
verify_trt
;
drop
procedure
verify_trt_dummy
;
drop
procedure
log
;
source
suite
/
versioning
/
common_finish
.
inc
;
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