diff options
author | Satya B <satya.bn@sun.com> | 2009-10-16 17:28:02 +0530 |
---|---|---|
committer | Satya B <satya.bn@sun.com> | 2009-10-16 17:28:02 +0530 |
commit | d63eb541f51648050467201ee4e148b087174ac6 (patch) | |
tree | d800c318519c4be386c9f5b47428b6790b8addb2 /storage/innobase/include/page0zip.h | |
parent | 12c7d0cf33b20dfcd548af594542b8a7bda601d2 (diff) | |
download | mariadb-git-d63eb541f51648050467201ee4e148b087174ac6.tar.gz |
Merging Innodb plugin 1.0.5 revisions from 5.1-main from revisions 3149 to 3163
also merged missing Innodb plugin revisions r5636,r5635 manually
Diffstat (limited to 'storage/innobase/include/page0zip.h')
-rw-r--r-- | storage/innobase/include/page0zip.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/storage/innobase/include/page0zip.h b/storage/innobase/include/page0zip.h index 9aaa066306b..574809e5227 100644 --- a/storage/innobase/include/page0zip.h +++ b/storage/innobase/include/page0zip.h @@ -127,8 +127,12 @@ page_zip_decompress( /*================*/ page_zip_des_t* page_zip,/*!< in: data, ssize; out: m_start, m_end, m_nonempty, n_blobs */ - page_t* page) /*!< out: uncompressed page, may be trashed */ - __attribute__((nonnull)); + page_t* page, /*!< out: uncompressed page, may be trashed */ + ibool all) /*!< in: TRUE=decompress the whole page; + FALSE=verify but do not copy some + page header fields that should not change + after page creation */ + __attribute__((nonnull(1,2))); #ifdef UNIV_DEBUG /**********************************************************************//** @@ -385,8 +389,8 @@ IMPORTANT: if page_zip_reorganize() is invoked on a leaf page of a non-clustered index, the caller must update the insert buffer free bits in the same mini-transaction in such a way that the modification will be redo-logged. -@return TRUE on success, FALSE on failure; page and page_zip will be -left intact on failure. */ +@return TRUE on success, FALSE on failure; page_zip will be left +intact on failure, but page will be overwritten. */ UNIV_INTERN ibool page_zip_reorganize( |