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
511b53ab
Commit
511b53ab
authored
Dec 27, 2010
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes.
parent
afcefa97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
sql/opt_range.cc
sql/opt_range.cc
+1
-2
sql/opt_range.h
sql/opt_range.h
+1
-4
No files found.
sql/opt_range.cc
View file @
511b53ab
...
...
@@ -4696,8 +4696,7 @@ ROR_SCAN_INFO *make_ror_scan(const PARAM *param, int idx, SEL_ARG *sel_arg)
bitmap_set_bit
(
&
ror_scan
->
covered_fields
,
key_part
->
fieldnr
-
1
);
}
ror_scan
->
index_read_cost
=
param
->
table
->
file
->
keyread_time
(
ror_scan
->
keynr
,
1
,
param
->
table
->
quick_rows
[
ror_scan
->
keynr
]);
param
->
table
->
file
->
keyread_time
(
ror_scan
->
keynr
,
1
,
ror_scan
->
records
);
DBUG_RETURN
(
ror_scan
);
}
...
...
sql/opt_range.h
View file @
511b53ab
...
...
@@ -457,11 +457,8 @@ class QUICK_RANGE_SELECT_GEOM: public QUICK_RANGE_SELECT
INDEX MERGE OPTIMIZER
Current implementation doesn't detect all cases where index_merge could
be used, in particular:
* index_merge will never be used if range scan is possible (even if
range scan is more expensive)
* index_merge+'using index' is not supported (this the consequence of
the above restriction)
* index_merge+'using index' is not supported
* If WHERE part contains complex nested AND and OR conditions, some ways
to retrieve rows using index_merge will not be considered. The choice
...
...
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