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
bf5cacf8
Commit
bf5cacf8
authored
Feb 04, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: A small cleanup: remove two duplicate rec_get_offsets() calls
parent
d8659b27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
innobase/page/page0cur.c
innobase/page/page0cur.c
+0
-6
No files found.
innobase/page/page0cur.c
View file @
bf5cacf8
...
@@ -311,9 +311,6 @@ page_cur_search_with_match(
...
@@ -311,9 +311,6 @@ page_cur_search_with_match(
low_matched_bytes
=
cur_matched_bytes
;
low_matched_bytes
=
cur_matched_bytes
;
}
else
if
(
cmp
==
-
1
)
{
}
else
if
(
cmp
==
-
1
)
{
offsets
=
rec_get_offsets
(
mid_rec
,
index
,
offsets
,
dtuple_get_n_fields_cmp
(
tuple
),
&
heap
);
if
(
mode
==
PAGE_CUR_LE_OR_EXTENDS
if
(
mode
==
PAGE_CUR_LE_OR_EXTENDS
&&
page_cur_rec_field_extends
(
tuple
,
mid_rec
,
&&
page_cur_rec_field_extends
(
tuple
,
mid_rec
,
offsets
,
cur_matched_fields
))
{
offsets
,
cur_matched_fields
))
{
...
@@ -366,9 +363,6 @@ page_cur_search_with_match(
...
@@ -366,9 +363,6 @@ page_cur_search_with_match(
low_matched_bytes
=
cur_matched_bytes
;
low_matched_bytes
=
cur_matched_bytes
;
}
else
if
(
cmp
==
-
1
)
{
}
else
if
(
cmp
==
-
1
)
{
offsets
=
rec_get_offsets
(
mid_rec
,
index
,
offsets
,
dtuple_get_n_fields_cmp
(
tuple
),
&
heap
);
if
(
mode
==
PAGE_CUR_LE_OR_EXTENDS
if
(
mode
==
PAGE_CUR_LE_OR_EXTENDS
&&
page_cur_rec_field_extends
(
tuple
,
mid_rec
,
&&
page_cur_rec_field_extends
(
tuple
,
mid_rec
,
offsets
,
cur_matched_fields
))
{
offsets
,
cur_matched_fields
))
{
...
...
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