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

Description.  This method defines a label to be used as the target of one or more jumps in an interpreted program.

def_label() uses a 2-word buffer and requires no space for request messages.


int def_label
      int LabelNum

Parameters.  This method takes a single parameter LabelNum, whose value must be unique among all values used for labels within the interpreted program.

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