~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to storage/innobase/include/rem0rec.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
B-tree page that is the leftmost page on its level
20
20
(PAGE_LEVEL is nonzero and FIL_PAGE_PREV is FIL_NULL). */
21
21
#define REC_INFO_MIN_REC_FLAG   0x10UL
 
22
/* The deleted flag in info bits */
 
23
#define REC_INFO_DELETED_FLAG   0x20UL  /* when bit is set to 1, it means the
 
24
                                        record has been delete marked */
22
25
 
23
26
/* Number of extra bytes in an old-style record,
24
27
in addition to the data and the offsets */
336
339
/*================*/
337
340
                                /* out: TRUE if a field is stored externally */
338
341
        const ulint*    offsets);/* in: array returned by rec_get_offsets() */
 
342
#if defined UNIV_DEBUG || defined UNIV_BLOB_LIGHT_DEBUG
 
343
/********************************************************
 
344
Determine if the offsets are for a record containing null BLOB pointers. */
 
345
UNIV_INLINE
 
346
const byte*
 
347
rec_offs_any_null_extern(
 
348
/*=====================*/
 
349
                                        /* out: first field containing
 
350
                                        a null BLOB pointer,
 
351
                                        or NULL if none found */
 
352
        rec_t*          rec,            /*!< in: record */
 
353
        const ulint*    offsets);       /*!< in: rec_get_offsets(rec) */
 
354
#endif /* UNIV_DEBUG || UNIV_BLOB_LIGHT_DEBUG */
339
355
/***************************************************************
340
356
Sets the value of the ith field extern storage bit. */
341
357
UNIV_INLINE