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
d985ac1f
Commit
d985ac1f
authored
Jan 16, 2012
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#13496818 ASSERTION: REC_PAGE_NO > 4 IN IBUF CONTRACTION
Relax a bogus debug assertion. Approved by Jimmy Yang on IM.
parent
bffc7ec8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
8 deletions
+29
-8
storage/innobase/ibuf/ibuf0ibuf.c
storage/innobase/ibuf/ibuf0ibuf.c
+9
-1
storage/innodb_plugin/ChangeLog
storage/innodb_plugin/ChangeLog
+10
-5
storage/innodb_plugin/ibuf/ibuf0ibuf.c
storage/innodb_plugin/ibuf/ibuf0ibuf.c
+10
-2
No files found.
storage/innobase/ibuf/ibuf0ibuf.c
View file @
d985ac1f
...
...
@@ -2009,7 +2009,15 @@ ibuf_get_merge_page_nos(
}
else
{
rec_page_no
=
ibuf_rec_get_page_no
(
rec
);
rec_space_id
=
ibuf_rec_get_space
(
rec
);
ut_ad
(
rec_page_no
>
IBUF_TREE_ROOT_PAGE_NO
);
/* In the system tablespace, the smallest
possible secondary index leaf page number is
bigger than IBUF_TREE_ROOT_PAGE_NO (4). In
other tablespaces, the clustered index tree is
created at page 3, which makes page 4 the
smallest possible secondary index leaf page
(and that only after DROP INDEX). */
ut_ad
(
rec_page_no
>
IBUF_TREE_ROOT_PAGE_NO
-
(
rec_space_id
!=
0
));
}
#ifdef UNIV_IBUF_DEBUG
...
...
storage/innodb_plugin/ChangeLog
View file @
d985ac1f
2012-01-16 The InnoDB Team
* ibuf/ibuf0ibuf.c:
Fix Bug#13496818 ASSERTION: REC_PAGE_NO > 4 IN IBUF CONTRACTION
2012-01-16 The InnoDB Team
* handler/ha_innodb.cc:
...
...
storage/innodb_plugin/ibuf/ibuf0ibuf.c
View file @
d985ac1f
/*****************************************************************************
Copyright (c) 1997, 201
1
, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1997, 201
2
, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -2090,7 +2090,15 @@ ibuf_get_merge_page_nos(
}
else
{
rec_page_no
=
ibuf_rec_get_page_no
(
rec
);
rec_space_id
=
ibuf_rec_get_space
(
rec
);
ut_ad
(
rec_page_no
>
IBUF_TREE_ROOT_PAGE_NO
);
/* In the system tablespace, the smallest
possible secondary index leaf page number is
bigger than IBUF_TREE_ROOT_PAGE_NO (4). In
other tablespaces, the clustered index tree is
created at page 3, which makes page 4 the
smallest possible secondary index leaf page
(and that only after DROP INDEX). */
ut_ad
(
rec_page_no
>
IBUF_TREE_ROOT_PAGE_NO
-
(
rec_space_id
!=
0
));
}
#ifdef UNIV_IBUF_DEBUG
...
...
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