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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b9e51250
Commit
b9e51250
authored
Sep 12, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove garbage comments, coding style conformance (no functional changes).
parent
a730bb9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
sql/multi_range_read.cc
sql/multi_range_read.cc
+4
-7
No files found.
sql/multi_range_read.cc
View file @
b9e51250
...
...
@@ -942,9 +942,9 @@ void DsMrr_impl::dsmrr_fill_key_buffer()
key_buffer
.
sort
((
qsort2_cmp
)
DsMrr_impl
::
key_tuple_cmp
,
(
void
*
)
this
);
//psergey4: cur_range_info will point to range-info bytes.
key_buffer
.
setup_reading
(
&
cur_index_tuple
,
key_size_in_keybuf
,
is_mrr_assoc
?
(
uchar
**
)
&
cur_range_info
:
NULL
,
sizeof
(
void
*
));
is_mrr_assoc
?
(
uchar
**
)
&
cur_range_info
:
NULL
,
sizeof
(
void
*
));
last_identical_key_ptr
=
NULL
;
in_identical_keys_range
=
FALSE
;
...
...
@@ -1004,8 +1004,7 @@ check_record:
{
continue
;
}
memcpy
(
range_info_arg
,
cur_range_info
,
sizeof
(
void
*
));
//psergey4: this copyies junk there
memcpy
(
range_info_arg
,
cur_range_info
,
sizeof
(
void
*
));
return
0
;
}
...
...
@@ -1209,12 +1208,10 @@ int DsMrr_impl::dsmrr_next(char **range_info)
if
(
is_mrr_assoc
)
{
memcpy
(
range_info
,
rowids_range_id
,
sizeof
(
uchar
*
));
//psergey5: memcpy(&cur_range_info, rowids_range_id, sizeof(uchar*)); // psergey: ???
}
if
(
h2
->
mrr_funcs
.
skip_record
&&
h2
->
mrr_funcs
.
skip_record
(
h2
->
mrr_iter
,
/* psergey5 (char *)
cur_range_info */
*
range_info
,
rowid
))
h2
->
mrr_funcs
.
skip_record
(
h2
->
mrr_iter
,
*
range_info
,
rowid
))
continue
;
res
=
h
->
ha_rnd_pos
(
table
->
record
[
0
],
rowid
);
...
...
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