Commit 75e12d48 authored by marko's avatar marko

branches/zip: page_zip_max_ins_size(): Correct the comment of the return value.

parent edf5b599
...@@ -139,8 +139,11 @@ UNIV_INLINE ...@@ -139,8 +139,11 @@ UNIV_INLINE
lint lint
page_zip_max_ins_size( page_zip_max_ins_size(
/*==================*/ /*==================*/
/* out: TRUE if page_zip_write_rec() /* out: a positive number
will succeed */ indicating the maximum size of
a record whose insertion is
guaranteed to succeed, or
zero or negative */
const page_zip_des_t* page_zip,/* in: compressed page */ const page_zip_des_t* page_zip,/* in: compressed page */
ibool is_clust)/* in: TRUE if clustered index */ ibool is_clust)/* in: TRUE if clustered index */
__attribute__((warn_unused_result, nonnull, pure)); __attribute__((warn_unused_result, nonnull, pure));
......
...@@ -243,8 +243,11 @@ UNIV_INLINE ...@@ -243,8 +243,11 @@ UNIV_INLINE
lint lint
page_zip_max_ins_size( page_zip_max_ins_size(
/*==================*/ /*==================*/
/* out: TRUE if page_zip_write_rec() /* out: a positive number
will succeed */ indicating the maximum size of
a record whose insertion is
guaranteed to succeed, or
zero or negative */
const page_zip_des_t* page_zip,/* in: compressed page */ const page_zip_des_t* page_zip,/* in: compressed page */
ibool is_clust)/* in: TRUE if clustered index */ ibool is_clust)/* in: TRUE if clustered index */
{ {
......
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