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
e5203265
Commit
e5203265
authored
Dec 17, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small code cleanups
parent
4b1399c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/multi_range_read.cc
sql/multi_range_read.cc
+3
-2
sql/multi_range_read.h
sql/multi_range_read.h
+0
-1
No files found.
sql/multi_range_read.cc
View file @
e5203265
...
...
@@ -230,7 +230,7 @@ handler::multi_range_read_init(RANGE_SEQ_IF *seq_funcs, void *seq_init_param,
int
handler
::
multi_range_read_next
(
char
**
range_info
)
{
int
result
=
HA_ERR_END_OF_FILE
;
int
range_res
;
bool
range_res
;
DBUG_ENTER
(
"handler::multi_range_read_next"
);
if
(
!
mrr_have_range
)
...
...
@@ -1005,7 +1005,8 @@ int DsMrr_impl::setup_two_handlers()
if
(
res
)
goto
error
;
}
if
((
primary_file
->
inited
!=
handler
::
RND
)
&&
primary_file
->
ha_rnd_init
(
FALSE
))
if
((
primary_file
->
inited
!=
handler
::
RND
)
&&
(
res
=
primary_file
->
ha_rnd_init
(
FALSE
)))
goto
error
;
}
DBUG_RETURN
(
0
);
...
...
sql/multi_range_read.h
View file @
e5203265
...
...
@@ -133,7 +133,6 @@ class Key_value_records_iterator
*/
bool
get_next_row
;
//uchar *cur_index_tuple; /* key_buffer.read() reads to here */
public:
int
init
(
Mrr_ordered_index_reader
*
owner_arg
);
int
get_next
(
char
**
range_info
);
...
...
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