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

Description.  This method prepares an interpreted program, including any subroutines it might have, by resolving all branching instructions and calls to subroutines. It must be called before using the program, and can be invoked only once for any given NdbInterpretedCode object.

If no instructions have been defined, this method attempts to insert a single interpret_exit_ok() method call prior to finalization.


int finalise

Parameters.  None.

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