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
3e670d86
Commit
3e670d86
authored
Jul 04, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: btr_parse_page_reorganize(): Add parameter page_zip.
parent
8460bf3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
btr/btr0btr.c
btr/btr0btr.c
+2
-3
include/btr0btr.h
include/btr0btr.h
+2
-1
log/log0recv.c
log/log0recv.c
+1
-1
No files found.
btr/btr0btr.c
View file @
3e670d86
...
...
@@ -986,7 +986,8 @@ btr_parse_page_reorganize(
byte
*
end_ptr
__attribute__
((
unused
)),
/* in: buffer end */
dict_index_t
*
index
,
/* in: record descriptor */
page_t
*
page
,
/* in: page or NULL */
page_t
*
page
,
/* in/out: page to be reorganized, or NULL */
page_zip_des_t
*
page_zip
,
/* in/out: compressed page, or NULL */
mtr_t
*
mtr
)
/* in: mtr or NULL */
{
ut_ad
(
ptr
&&
end_ptr
);
...
...
@@ -994,8 +995,6 @@ btr_parse_page_reorganize(
/* The record is empty, except for the record initial part */
if
(
UNIV_LIKELY
(
page
!=
NULL
))
{
page_zip_des_t
*
page_zip
=
buf_block_get_page_zip
(
buf_block_align
(
page
));
btr_page_reorganize_low
(
TRUE
,
page
,
page_zip
,
index
,
mtr
);
}
...
...
include/btr0btr.h
View file @
3e670d86
...
...
@@ -346,7 +346,8 @@ btr_parse_page_reorganize(
byte
*
ptr
,
/* in: buffer */
byte
*
end_ptr
,
/* in: buffer end */
dict_index_t
*
index
,
/* in: record descriptor */
page_t
*
page
,
/* in: page or NULL */
page_t
*
page
,
/* in/out: page to be reorganized, or NULL */
page_zip_des_t
*
page_zip
,
/* in/out: compressed page, or NULL */
mtr_t
*
mtr
);
/* in: mtr or NULL */
/******************************************************************
Gets the number of pages in a B-tree. */
...
...
log/log0recv.c
View file @
3e670d86
...
...
@@ -839,7 +839,7 @@ recv_parse_or_apply_log_rec_body(
||
(
ibool
)
!!
page_is_comp
(
page
)
==
dict_table_is_comp
(
index
->
table
));
ptr
=
btr_parse_page_reorganize
(
ptr
,
end_ptr
,
index
,
page
,
mtr
);
page
,
page_zip
,
mtr
);
}
break
;
case
MLOG_PAGE_CREATE
:
case
MLOG_COMP_PAGE_CREATE
:
...
...
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