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

Description.  This method loads a 16-bit value into the specified interpreter register.


int load_const_u16
      Uint32 RegDest,
      Uint32 Constant

Parameters.  This method takes the following two parameters:

  • RegDest: The register into which the value should be loaded.

  • A Constant value to be loaded

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