#include <mysql_stored_program_imp.h>
|
static 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) noexcept |
|
static 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) noexcept |
|
◆ get()
mysql_service_status_t mysql_stored_program_runtime_argument_timestamp_imp::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 |
|
) |
| |
|
staticnoexcept |
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument location |
[out] | year | Year part |
[out] | month | Month of the year |
[out] | day | Day of the month |
[out] | hour | Hour of the day |
[out] | minute | Minute of the hour |
[out] | second | Second of the minute |
[out] | micro | Micro second of the second |
[out] | negative | Is negative |
[out] | time_zone_offset | Time zone offset in seconds |
[out] | is_null | Flag to indicate if value is null |
- Returns
- Status of operation
- Return values
-
MYSQL_SUCCESS | Success |
MYSQL_FAILURE | Failure |
◆ set()
mysql_service_status_t mysql_stored_program_runtime_argument_timestamp_imp::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 |
|
) |
| |
|
staticnoexcept |
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument location |
[in] | year | Year part |
[in] | month | Month of the year |
[in] | day | Day of the month |
[in] | hour | Hour of the day |
[in] | minute | Minute of the hour |
[in] | second | Second of the minute |
[in] | micro | Micro second of the second |
[in] | negative | Is negative |
[in] | decimals | Precision information |
[in] | time_zone_offset | Time zone offset in seconds |
[in] | time_zone_aware | Is time zone aware |
- Returns
- Status of operation
- Return values
-
MYSQL_SUCCESS | Success |
MYSQL_FAILURE | Failure |
The documentation for this class was generated from the following files: