Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.24.19 NdbInterpretedCode::branch_eq()

Description.  This method compares two register values; if they equal, then the interpreted program jumps to the specified label.

Signature. 

int branch_eq
    (
      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 they are equal. Label must have been defined previously using def_label() (see Section 2.3.24.30, “NdbInterpretedCode::def_label()”).

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


User Comments
Sign Up Login You must be logged in to post a comment.