Commit f74acc25 authored by marko's avatar marko

branches/zip: Non-functional change:

page_zip_copy_recs(): Rename from page_zip_copy().
Update the function comment.
parent 3e927610
......@@ -1184,7 +1184,7 @@ btr_root_raise_and_insert(
ut_a(new_page_zip);
/* Copy the page byte for byte. */
page_zip_copy(new_page_zip, new_page,
page_zip_copy_recs(new_page_zip, new_page,
root_page_zip, root, index, mtr);
}
......@@ -1949,7 +1949,7 @@ insert_right:
as appropriate. Deleting will always succeed. */
ut_a(new_page_zip);
page_zip_copy(new_page_zip, new_page,
page_zip_copy_recs(new_page_zip, new_page,
page_zip, page, cursor->index, mtr);
page_delete_rec_list_end(move_limit - page + new_page,
new_block, cursor->index,
......@@ -1976,7 +1976,7 @@ insert_right:
as appropriate. Deleting will always succeed. */
ut_a(new_page_zip);
page_zip_copy(new_page_zip, new_page,
page_zip_copy_recs(new_page_zip, new_page,
page_zip, page, cursor->index, mtr);
page_delete_rec_list_start(move_limit - page
+ new_page, new_block,
......@@ -2339,7 +2339,7 @@ btr_lift_page_up(
ut_a(page_zip);
/* Copy the page byte for byte. */
page_zip_copy(father_page_zip, father_page,
page_zip_copy_recs(father_page_zip, father_page,
page_zip, page, index, mtr);
}
......
......@@ -373,11 +373,13 @@ page_zip_reorganize(
mtr_t* mtr) /* in: mini-transaction */
__attribute__((nonnull));
/**************************************************************************
Copy a page byte for byte, except for the file page header and trailer. */
Copy the records of a page byte for byte. Do not copy the page header
or trailer, except those B-tree header fields that are directly
related to the storage of records. */
UNIV_INTERN
void
page_zip_copy(
/*==========*/
page_zip_copy_recs(
/*===============*/
page_zip_des_t* page_zip, /* out: copy of src_zip
(n_blobs, m_start, m_end,
m_nonempty, data[0..size-1]) */
......
......@@ -4286,11 +4286,13 @@ page_zip_reorganize(
}
/**************************************************************************
Copy a page byte for byte, except for the file page header and trailer. */
Copy the records of a page byte for byte. Do not copy the page header
or trailer, except those B-tree header fields that are directly
related to the storage of records. */
UNIV_INTERN
void
page_zip_copy(
/*==========*/
page_zip_copy_recs(
/*===============*/
page_zip_des_t* page_zip, /* out: copy of src_zip
(n_blobs, m_start, m_end,
m_nonempty, data[0..size-1]) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment