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
e0089fa0
Commit
e0089fa0
authored
Aug 25, 2008
by
Sergey Petrunia
Browse files
Options
Browse Files
Download
Plain Diff
Merge BUG#36639 into 5.1
parents
e202b160
b7700d89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
sql/opt_range.cc
sql/opt_range.cc
+7
-0
sql/opt_range.h
sql/opt_range.h
+1
-8
No files found.
sql/opt_range.cc
View file @
e0089fa0
...
...
@@ -8564,6 +8564,13 @@ QUICK_SELECT_DESC::QUICK_SELECT_DESC(QUICK_RANGE_SELECT *q,
used_key_parts
(
used_key_parts_arg
)
{
QUICK_RANGE
*
r
;
/*
Use default MRR implementation for reverse scans. No table engine
currently can do an MRR scan with output in reverse index order.
*/
multi_range_length
=
0
;
multi_range
=
NULL
;
multi_range_buff
=
NULL
;
QUICK_RANGE
**
pr
=
(
QUICK_RANGE
**
)
ranges
.
buffer
;
QUICK_RANGE
**
end_range
=
pr
+
ranges
.
elements
;
...
...
sql/opt_range.h
View file @
e0089fa0
...
...
@@ -345,14 +345,7 @@ class QUICK_RANGE_SELECT : public QUICK_SELECT_I
void
dbug_dump
(
int
indent
,
bool
verbose
);
#endif
private:
/* Used only by QUICK_SELECT_DESC */
QUICK_RANGE_SELECT
(
const
QUICK_RANGE_SELECT
&
org
)
:
QUICK_SELECT_I
()
{
bcopy
(
&
org
,
this
,
sizeof
(
*
this
));
multi_range_length
=
0
;
multi_range
=
NULL
;
multi_range_buff
=
NULL
;
}
/* Default copy ctor used by QUICK_SELECT_DESC */
};
...
...
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