Commit 93f87957 authored by joreland@mysql.com's avatar joreland@mysql.com

Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0

into mysql.com:/home/jonas/src/mysql-5.0
parents f461b4bc 81ce1c8d
...@@ -139,7 +139,7 @@ bits of a record. (Only compact records have status bits.) */ ...@@ -139,7 +139,7 @@ bits of a record. (Only compact records have status bits.) */
UNIV_INLINE UNIV_INLINE
ulint ulint
rec_get_info_and_status_bits( rec_get_info_and_status_bits(
/*==============*/ /*=========================*/
/* out: info bits */ /* out: info bits */
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ibool comp); /* in: TRUE=compact page format */ ibool comp); /* in: TRUE=compact page format */
...@@ -149,7 +149,7 @@ bits of a record. (Only compact records have status bits.) */ ...@@ -149,7 +149,7 @@ bits of a record. (Only compact records have status bits.) */
UNIV_INLINE UNIV_INLINE
void void
rec_set_info_and_status_bits( rec_set_info_and_status_bits(
/*==============*/ /*=========================*/
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ibool comp, /* in: TRUE=compact page format */ ibool comp, /* in: TRUE=compact page format */
ulint bits); /* in: info bits */ ulint bits); /* in: info bits */
......
...@@ -564,7 +564,7 @@ rec_set_info_and_status_bits( ...@@ -564,7 +564,7 @@ rec_set_info_and_status_bits(
} else { } else {
ut_ad(!(bits & ~(REC_INFO_BITS_MASK >> REC_INFO_BITS_SHIFT))); ut_ad(!(bits & ~(REC_INFO_BITS_MASK >> REC_INFO_BITS_SHIFT)));
} }
rec_set_info_bits(rec, bits & ~REC_NEW_STATUS_MASK, comp); rec_set_info_bits(rec, comp, bits & ~REC_NEW_STATUS_MASK);
} }
/********************************************************** /**********************************************************
......
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