Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

MySQL NDB Cluster API Developer Guide  /  ...  /  NdbInterpretedCode::branch_col_and_mask_ne_mask()

2.3.24.7 NdbInterpretedCode::branch_col_and_mask_ne_mask()

Description.  This method is used to compare a BIT column value with a bitmask; if the column value ANDed together with the bitmask is not equal to the bitmask, then execution jumps to a specified label specified in the method call.

Signature. 

int branch_col_and_mask_ne_mask
    (
      const void* mask,
      Uint32 unused,
      Uint32 attrId,
      Uint32 Label
    )

Parameters.  This method accepts four parameters, of which three are actually used. These described in the following list:

  • A pointer to a constant mask to compare the column value to.

  • A Uint32 value which is currently unused.

  • The attrId of the column to be compared.

  • A program Label to jump to if the condition is true.

Return value.  This method returns 0 on success and -1 on failure.


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.