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
211417e2
Commit
211417e2
authored
Sep 24, 2008
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/innodb+: Merge revisions 2660:2676 from branches/zip.
parent
e574d604
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
18 deletions
+41
-18
ChangeLog
ChangeLog
+7
-0
btr/btr0btr.c
btr/btr0btr.c
+29
-14
ibuf/ibuf0ibuf.c
ibuf/ibuf0ibuf.c
+3
-2
row/row0purge.c
row/row0purge.c
+2
-2
No files found.
ChangeLog
View file @
211417e2
2008-09-19 The InnoDB Team
* os/os0proc.c:
Fix a memory leak on Windows. The memory leak was due to wrong
parameters passed into VirtualFree() call. As the result, the
call fails with Windows error 87.
2008-09-17 The InnoDB Team
* mysql-test/innodb.result, mysql-test/innodb-zip.result,
...
...
btr/btr0btr.c
View file @
211417e2
...
...
@@ -121,10 +121,14 @@ btr_root_block_get(
ut_a
((
ibool
)
!!
page_is_comp
(
buf_block_get_frame
(
block
))
==
dict_table_is_comp
(
index
->
table
));
#ifdef UNIV_BTR_DEBUG
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
buf_block_get_frame
(
block
),
space
));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
buf_block_get_frame
(
block
),
space
));
if
(
!
dict_index_is_ibuf
(
index
))
{
const
page_t
*
root
=
buf_block_get_frame
(
block
);
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
root
,
space
));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
root
,
space
));
}
#endif
/* UNIV_BTR_DEBUG */
return
(
block
);
...
...
@@ -1151,10 +1155,15 @@ btr_root_raise_and_insert(
#endif
/* UNIV_ZIP_DEBUG */
index
=
btr_cur_get_index
(
cursor
);
#ifdef UNIV_BTR_DEBUG
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
root
,
dict_index_get_space
(
index
)));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
root
,
dict_index_get_space
(
index
)));
if
(
!
dict_index_is_ibuf
(
index
))
{
ulint
space
=
dict_index_get_space
(
index
);
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
root
,
space
));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
root
,
space
));
}
ut_a
(
dict_index_get_page
(
index
)
==
page_get_page_no
(
root
));
#endif
/* UNIV_BTR_DEBUG */
ut_ad
(
mtr_memo_contains
(
mtr
,
dict_index_get_lock
(
index
),
...
...
@@ -2703,12 +2712,18 @@ btr_discard_only_page_on_level(
/* The father is the root page */
#ifdef UNIV_BTR_DEBUG
const
page_t
*
root
=
buf_block_get_frame
(
father_block
);
const
ulint
space
=
dict_index_get_space
(
index
);
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
root
,
space
));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
root
,
space
));
if
(
!
dict_index_is_ibuf
(
index
))
{
const
page_t
*
root
=
buf_block_get_frame
(
father_block
);
const
ulint
space
=
dict_index_get_space
(
index
);
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_LEAF
+
root
,
space
));
ut_a
(
btr_root_fseg_validate
(
FIL_PAGE_DATA
+
PAGE_BTR_SEG_TOP
+
root
,
space
));
}
#endif
/* UNIV_BTR_DEBUG */
btr_page_empty
(
father_block
,
father_page_zip
,
mtr
,
index
);
...
...
ibuf/ibuf0ibuf.c
View file @
211417e2
...
...
@@ -3717,7 +3717,8 @@ ibuf_merge_or_delete_for_page(
page_zip
=
buf_block_get_page_zip
(
block
);
if
(
UNIV_UNLIKELY
(
fil_page_get_type
(
block
->
frame
)
!=
FIL_PAGE_INDEX
))
{
!=
FIL_PAGE_INDEX
)
||
UNIV_UNLIKELY
(
!
page_is_leaf
(
block
->
frame
)))
{
page_t
*
bitmap_page
;
...
...
@@ -3746,7 +3747,7 @@ ibuf_merge_or_delete_for_page(
"InnoDB: buffer records to page n:o %lu"
" though the page
\n
"
"InnoDB: type is %lu, which is"
" not an index page!
\n
"
" not an index
leaf
page!
\n
"
"InnoDB: We try to resolve the problem"
" by skipping the insert buffer
\n
"
"InnoDB: merge for this page."
...
...
row/row0purge.c
View file @
211417e2
...
...
@@ -207,7 +207,7 @@ row_purge_remove_sec_if_poss_low_nonbuffered(
/* out: TRUE if success or if not found */
purge_node_t
*
node
,
/* in: row purge node */
dict_index_t
*
index
,
/* in: index */
dtuple_t
*
entry
,
/* in: index entry */
const
dtuple_t
*
entry
,
/* in: index entry */
ulint
mode
)
/* in: latch mode BTR_MODIFY_LEAF or
BTR_MODIFY_TREE */
{
...
...
@@ -288,7 +288,7 @@ row_purge_remove_sec_if_poss_low(
/* out: TRUE if success or if not found */
purge_node_t
*
node
,
/* in: row purge node */
dict_index_t
*
index
,
/* in: index */
dtuple_t
*
entry
,
/* in: index entry */
const
dtuple_t
*
entry
,
/* in: index entry */
ulint
mode
)
/* in: latch mode BTR_MODIFY_LEAF or
BTR_MODIFY_TREE */
{
...
...
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