MySQL 9.1.0
Source Code Documentation
mysql_stored_program_runtime_argument_time_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, uint32_t *hour, uint32_t *minute, uint32_t *second, uint64_t *micro, bool *negative, bool *is_null) noexcept
 
static mysql_service_status_t set (stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t hour, uint32_t minute, uint32_t second, uint64_t micro, bool negative, uint8_t decimals) noexcept
 

Member Function Documentation

◆ get()

mysql_service_status_t mysql_stored_program_runtime_argument_time_imp::get ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
uint32_t *  hour,
uint32_t *  minute,
uint32_t *  second,
uint64_t *  micro,
bool *  negative,
bool *  is_null 
)
staticnoexcept
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[out]hourHour of the day
[out]minuteMinute of the hour
[out]secondSecond of the minute
[out]microMicro second of the second
[out]negativeIs negative
[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_time_imp::set ( stored_program_runtime_context  sp_runtime_context,
uint16_t  index,
uint32_t  hour,
uint32_t  minute,
uint32_t  second,
uint64_t  micro,
bool  negative,
uint8_t  decimals 
)
staticnoexcept
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument location
[in]hourHour of the day
[in]minuteMinute of the hour
[in]secondSecond of the minute
[in]microMicro second of the second
[in]negativeIs negative
[in]decimalsPrecision information
Returns
Status of operation
Return values
MYSQL_SUCCESSSuccess
MYSQL_FAILUREFailure

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