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
44d80eae
Commit
44d80eae
authored
Feb 16, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: row_purge_upd_exist_or_extern(): use the offsets correctly
parent
1b7710af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
row/row0purge.c
row/row0purge.c
+4
-3
No files found.
row/row0purge.c
View file @
44d80eae
...
...
@@ -450,10 +450,10 @@ row_purge_upd_exist_or_extern(
that the space id of the undo log record is 0! */
rec
=
buf_page_get
(
0
,
page_no
,
RW_X_LATCH
,
&
mtr
)
+
internal_
offset
;
+
offset
;
#ifdef UNIV_SYNC_DEBUG
buf_page_dbg_add_level
(
buf_frame_align
(
data_field
),
buf_page_dbg_add_level
(
buf_frame_align
(
rec
),
SYNC_TRX_UNDO_PAGE
);
#endif
/* UNIV_SYNC_DEBUG */
...
...
@@ -464,7 +464,8 @@ row_purge_upd_exist_or_extern(
byte
*
field
=
rec_get_nth_field
(
rec
,
offsets
,
j
,
&
len
);
if
(
UNIV_UNLIKELY
(
rec
+
offset
==
field
))
{
if
(
UNIV_UNLIKELY
(
rec
+
internal_offset
==
field
))
{
ut_a
(
len
==
ufield
->
new_val
.
len
);
ut_a
(
rec_offs_nth_extern
(
offsets
,
j
));
goto
found_field
;
...
...
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