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
fe5213b3
Commit
fe5213b3
authored
Jun 21, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Tighten the assertions about page_zip->m_end.
parent
0a5b956f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
page/page0zip.c
page/page0zip.c
+4
-2
No files found.
page/page0zip.c
View file @
fe5213b3
...
...
@@ -1851,7 +1851,8 @@ zlib_done:
goto
err_exit
;
}
page_zip
->
m_end
=
mod_log_ptr
-
page_zip
->
data
;
ut_ad
(
page_zip
->
m_end
<
page_zip
->
size
);
ut_ad
(
page_zip_get_trailer_len
(
page_zip
,
index
,
NULL
)
+
page_zip
->
m_end
<
page_zip
->
size
);
}
if
(
UNIV_UNLIKELY
(
!
page_zip_set_extra_bytes
(
...
...
@@ -3128,7 +3129,8 @@ page_zip_copy(
page_zip
->
n_blobs
=
src_zip
->
n_blobs
;
page_zip
->
m_start
=
src_zip
->
m_start
;
page_zip
->
m_end
=
src_zip
->
m_end
;
ut_ad
(
page_zip
->
m_end
<
page_zip
->
size
);
ut_ad
(
page_zip_get_trailer_len
(
page_zip
,
index
,
NULL
)
+
page_zip
->
m_end
<
page_zip
->
size
);
if
(
!
page_is_leaf
(
src
)
&&
UNIV_UNLIKELY
(
mach_read_from_4
((
byte
*
)
src
...
...
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