Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.24.16 NdbInterpretedCode::branch_col_ne()

Description.  This method compares a table column value with an arbitrary constant and jumps to the specified program label if the two values are not equal.

Signature. 

int branch_col_ne
    (
      const void* val,
      Uint32 len,
      Uint32 attrId,
      Uint32 Label
    )

Parameters.  This method takes the four parameters listed here:

  • A constant value (val)

  • The length of the value (in bytes)

  • The attribute ID of the table column whose value is to be compared with val

  • A Label (previously defined using def_label()) to jump to if the compared values are unequal

Return value.  Returns 0 on success, -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.