#include <mysql_stored_program.h>
|
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) |
|
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) |
|
◆ get
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument position |
[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] | is_null | Flag to indicate if value is null |
- Returns
- Status of operation
- Return values
-
◆ set
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument location |
[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 |
- Returns
- Status of operation
- Return values
-
The documentation for this struct was generated from the following file: