Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbInterpretedCode::branch_col_eq_null()

Description.  This method tests the value of a table column and jumps to the indicated program label if the column value is NULL.


int branch_col_eq_null
      Uint32 attrId,
      Uint32 Label

Parameters.  This method requires the following two parameters:

  • The attribute ID of the table column

  • The program label to jump to if the column value is NULL

Return value.  Returns 0 on success, -1 on failure.