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

Description.  This method is used to mark the start of a subroutine. See Section, “Using Subroutines with NdbInterpretedCode”, for more information.


int def_sub
      Uint32 SubroutineNumber

Parameters.  A single parameter, a number used to identify the subroutine.

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