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
5d591705
Commit
5d591705
authored
Apr 27, 2006
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: btr_lift_page_up(): Set level before page_zip_compress().
parent
ed354ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
btr/btr0btr.c
btr/btr0btr.c
+4
-2
No files found.
btr/btr0btr.c
View file @
5d591705
...
@@ -2082,6 +2082,10 @@ btr_lift_page_up(
...
@@ -2082,6 +2082,10 @@ btr_lift_page_up(
/* Make the father empty */
/* Make the father empty */
btr_page_empty
(
father_page
,
father_page_zip
,
mtr
,
index
);
btr_page_empty
(
father_page
,
father_page_zip
,
mtr
,
index
);
/* Set the level before inserting records, because
page_zip_compress() requires that the first user record
on a non-leaf page has the min_rec_mark set. */
btr_page_set_level
(
father_page
,
father_page_zip
,
page_level
,
mtr
);
/* Move records to the father */
/* Move records to the father */
if
(
!
page_copy_rec_list_end
(
father_page
,
father_page_zip
,
if
(
!
page_copy_rec_list_end
(
father_page
,
father_page_zip
,
...
@@ -2092,8 +2096,6 @@ btr_lift_page_up(
...
@@ -2092,8 +2096,6 @@ btr_lift_page_up(
ut_error
;
ut_error
;
}
}
btr_page_set_level
(
father_page
,
father_page_zip
,
page_level
,
mtr
);
lock_update_copy_and_discard
(
father_page
,
page
);
lock_update_copy_and_discard
(
father_page
,
page
);
/* Free the file page */
/* Free the file 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