MySQL 9.1.0
Source Code Documentation
s_mysql_mysql_stored_program_runtime_argument_timestamp Struct Reference

#include <mysql_stored_program.h>

Public Attributes

mysql_service_status_t(* get )(stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t *year, uint32_t *month, uint32_t *day, uint32_t *hour, uint32_t *minute, uint32_t *second, uint64_t *micro, bool *negative, int32_t *time_zone_offset, bool *is_null)
 
mysql_service_status_t(* set )(stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second, uint64_t micro, bool negative, uint32_t decimals, int32_t time_zone_offset, bool time_zone_aware)
 

Member Data Documentation

◆ get

mysql_service_status_t(* s_mysql_mysql_stored_program_runtime_argument_timestamp::get) (stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t *year, uint32_t *month, uint32_t *day, uint32_t *hour, uint32_t *minute, uint32_t *second, uint64_t *micro, bool *negative, int32_t *time_zone_offset, bool *is_null)
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument position
[out]yearYear part
[out]monthMonth of the year
[out]dayDay of the month
[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]time_zone_offsetTime zone offset in seconds
[out]is_nullFlag to indicate if value is null
Returns
Status of operation
Return values
falseSuccess
trueError

◆ set

mysql_service_status_t(* s_mysql_mysql_stored_program_runtime_argument_timestamp::set) (stored_program_runtime_context sp_runtime_context, uint16_t index, uint32_t year, uint32_t month, uint32_t day, uint32_t hour, uint32_t minute, uint32_t second, uint64_t micro, bool negative, uint32_t decimals, int32_t time_zone_offset, bool time_zone_aware)
Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument position
[in]yearYear part
[in]monthMonth of the year
[in]dayDay of the month
[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
[in]time_zone_offsetTime zone offset in seconds
[in]time_zone_awareIs time zone aware
Returns
Status of operation
Return values
falseSuccess
trueError

The documentation for this struct was generated from the following file: