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

Description.  This method compares a register value with NULL; if the register value is null, then the interpreted program jumps to the specified label.


int branch_eq_null
      Uint32 RegLvalue,
      Uint32 Label

Parameters.  This method takes two parameters, the register whose value is to be compared with NULL (RegLvalue) and the program Label to jump to if RegLvalue is null. Label must have been defined previously using def_label() (see Section, “NdbInterpretedCode::def_label()”).

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