MySQL 8.4.0
Source Code Documentation
mysql_stored_program_runtime_argument_int_imp Class Reference

#include <mysql_stored_program_imp.h>

Static Public Member Functions

static mysql_service_status_t get (stored_program_runtime_context sp_runtime_context, uint16_t index, int64_t *result, bool *is_null) noexcept
 Get value of an int argument. More...
 
static mysql_service_status_t set (stored_program_runtime_context sp_runtime_context, uint16_t index, int64_t value) noexcept
 Set value of an int argument. More...
 

Member Function Documentation

◆ get()

mysql_service_status_t mysql_stored_program_runtime_argument_int_imp::get ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
int64_t *  result,
bool *  is_null 
)
staticnoexcept

Get value of an int argument.

Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[out]resultValue of the argument
[out]is_nullFlag to indicate if value is null
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

◆ set()

mysql_service_status_t mysql_stored_program_runtime_argument_int_imp::set ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
int64_t  value 
)
staticnoexcept

Set value of an int argument.

Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[in]valueValue to be set
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

The documentation for this class was generated from the following files: