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
4becc5cf
Commit
4becc5cf
authored
Sep 24, 2008
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: ibuf_merge_or_delete_for_page(): Check that the changes would
be merged to a leaf page.
parent
dd1b7e42
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ibuf/ibuf0ibuf.c
ibuf/ibuf0ibuf.c
+3
-2
No files found.
ibuf/ibuf0ibuf.c
View file @
4becc5cf
...
@@ -3299,7 +3299,8 @@ ibuf_merge_or_delete_for_page(
...
@@ -3299,7 +3299,8 @@ ibuf_merge_or_delete_for_page(
page_zip
=
buf_block_get_page_zip
(
block
);
page_zip
=
buf_block_get_page_zip
(
block
);
if
(
UNIV_UNLIKELY
(
fil_page_get_type
(
block
->
frame
)
if
(
UNIV_UNLIKELY
(
fil_page_get_type
(
block
->
frame
)
!=
FIL_PAGE_INDEX
))
{
!=
FIL_PAGE_INDEX
)
||
UNIV_UNLIKELY
(
!
page_is_leaf
(
block
->
frame
)))
{
corruption_noticed
=
TRUE
;
corruption_noticed
=
TRUE
;
...
@@ -3326,7 +3327,7 @@ ibuf_merge_or_delete_for_page(
...
@@ -3326,7 +3327,7 @@ ibuf_merge_or_delete_for_page(
"InnoDB: buffer records to page n:o %lu"
"InnoDB: buffer records to page n:o %lu"
" though the page
\n
"
" though the page
\n
"
"InnoDB: type is %lu, which is"
"InnoDB: type is %lu, which is"
" not an index page!
\n
"
" not an index
leaf
page!
\n
"
"InnoDB: We try to resolve the problem"
"InnoDB: We try to resolve the problem"
" by skipping the insert buffer
\n
"
" by skipping the insert buffer
\n
"
"InnoDB: merge for this page."
"InnoDB: merge for this page."
...
...
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