Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbDictionary::getNullBitOffset()

Description.  Get the offset of the given attribute ID's null bit from the start of the NdbRecord row. Returns false if the attribute ID is not present.


static bool getNullBitOffset
      const NdbRecord* record,
      Uint32 attrId,
      Uint32& bytes,
      Uint32& bit

Parameters.  An NdbRecord record in which to get the null bit offset of the given attribute ID (attrId). The offset is expressed as a number of bytes (bytes) plus a number of bits within the last byte (bit).

Return value.  Boolean false, if the attribute with the given ID is not present.

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.