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

« back to all changes in this revision

Viewing changes to storage/innodb_plugin/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:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1994, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1994, 2011, Oracle and/or its affiliates. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
480
480
rec_offs_any_extern(
481
481
/*================*/
482
482
        const ulint*    offsets);/*!< in: array returned by rec_get_offsets() */
 
483
#if defined UNIV_DEBUG || defined UNIV_BLOB_LIGHT_DEBUG
 
484
/******************************************************//**
 
485
Determine if the offsets are for a record containing null BLOB pointers.
 
486
@return first field containing a null BLOB pointer, or NULL if none found */
 
487
UNIV_INLINE
 
488
const byte*
 
489
rec_offs_any_null_extern(
 
490
/*=====================*/
 
491
        const rec_t*    rec,            /*!< in: record */
 
492
        const ulint*    offsets)        /*!< in: rec_get_offsets(rec) */
 
493
        __attribute__((nonnull, warn_unused_result));
 
494
#endif /* UNIV_DEBUG || UNIV_BLOB_LIGHT_DEBUG */
483
495
/******************************************************//**
484
496
Returns nonzero if the extern bit is set in nth field of rec.
485
497
@return nonzero if externally stored */