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
3c2576fd
Commit
3c2576fd
authored
Mar 22, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Remove a bogus assertion.
page_zip_write_rec(): Allow the record to be delete-marked.
parent
dfebdee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
page/page0zip.c
page/page0zip.c
+6
-5
No files found.
page/page0zip.c
View file @
3c2576fd
...
...
@@ -1910,10 +1910,12 @@ page_zip_write_rec(
slot
=
page_zip_dir_find
(
page_zip
,
ut_align_offset
(
rec
,
UNIV_PAGE_SIZE
));
ut_a
(
slot
);
/* Clear the delete mark bit. */
ut_ad
(
!
(
rec_get_info_bits
((
rec_t
*
)
rec
,
TRUE
)
&
REC_INFO_DELETED_FLAG
));
*
slot
&=
~
(
PAGE_ZIP_DIR_SLOT_DEL
>>
8
);
/* Copy the delete mark. */
if
(
rec_get_deleted_flag
((
rec_t
*
)
rec
,
TRUE
))
{
*
slot
|=
PAGE_ZIP_DIR_SLOT_DEL
>>
8
;
}
else
{
*
slot
&=
~
(
PAGE_ZIP_DIR_SLOT_DEL
>>
8
);
}
ut_ad
(
rec_get_start
((
rec_t
*
)
rec
,
offsets
)
>=
page
+
PAGE_ZIP_START
);
ut_ad
(
rec_get_end
((
rec_t
*
)
rec
,
offsets
)
<=
page
+
UNIV_PAGE_SIZE
...
...
@@ -2432,7 +2434,6 @@ page_zip_rec_set_owned(
}
}
/**************************************************************************
Shift the dense page directory and the array of BLOB pointers
when a record is deleted. */
...
...
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