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.