Browse Source

branches/zip: Non-functional change:

page_zip_copy_recs(): Rename from page_zip_copy().
Update the function comment.
pull/374/head
marko 17 years ago
parent
commit
f74acc2556
  1. 8
      btr/btr0btr.c
  2. 8
      include/page0zip.h
  3. 8
      page/page0zip.c

8
btr/btr0btr.c

@ -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);
}

8
include/page0zip.h

@ -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]) */

8
page/page0zip.c

@ -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]) */

Loading…
Cancel
Save