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
a5025b8e
Commit
a5025b8e
authored
Jun 16, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: After review fixes
parent
f11bbee7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
innobase/include/page0page.ic
innobase/include/page0page.ic
+2
-2
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+4
-10
No files found.
innobase/include/page0page.ic
View file @
a5025b8e
...
...
@@ -597,7 +597,7 @@ page_rec_set_next(
if (next) {
ut_ad(!page_rec_is_infimum(next));
ut_a(page == ut_align_down(next, UNIV_PAGE_SIZE));
ut_a
d
(page == ut_align_down(next, UNIV_PAGE_SIZE));
offs = (ulint) (next - page);
} else {
offs = 0;
...
...
@@ -624,7 +624,7 @@ page_rec_get_prev(
ut_ad(page_rec_check(rec));
page =
buf_frame_align(rec
);
page =
ut_align_down(rec, UNIV_PAGE_SIZE
);
ut_ad(!page_rec_is_infimum(rec));
...
...
innobase/lock/lock0lock.c
View file @
a5025b8e
...
...
@@ -1304,18 +1304,12 @@ lock_rec_get_first(
lock
=
lock_rec_get_first_on_page
(
rec
);
if
(
UNIV_LIKELY_NULL
(
lock
))
{
if
(
page_rec_is_comp
(
rec
))
{
while
(
lock
&&
!
lock_rec_get_nth_bit
(
lock
,
rec_get_heap_no
(
rec
,
TRUE
)))
{
lock
=
lock_rec_get_next_on_page
(
lock
);
}
}
else
{
while
(
lock
&&
!
lock_rec_get_nth_bit
(
lock
,
rec_get_heap_no
(
rec
,
FALSE
)))
{
ulint
heap_no
=
rec_get_heap_no
(
rec
,
page_rec_is_comp
(
rec
));
while
(
lock
&&
!
lock_rec_get_nth_bit
(
lock
,
heap_no
))
{
lock
=
lock_rec_get_next_on_page
(
lock
);
}
}
}
return
(
lock
);
}
...
...
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