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

Description.  This method compares two register values; if the first is greater than or equal to the second, the interpreted program jumps to the specified label.


int branch_ge
      Uint32 RegLvalue,
      Uint32 RegRvalue,
      Uint32 Label

Parameters.  This method takes three parameters, the registers whose values are to be compared—RegLvalue and RegRvalue—and the program Label to jump to if RegLvalue is greater than or equal to RegRvalue. Label must have been defined previously using def_label() (see Section, “NdbInterpretedCode::def_label()”).

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