#include <mysql_stored_program_imp.h>
|
| 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 |
| |
◆ get()
- Parameters
-
| [in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
| [in] | index | Argument location |
| [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
-
| MYSQL_SUCCESS | Success |
| MYSQL_FAILURE | Failure |
◆ 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
-
| MYSQL_SUCCESS | Success |
| MYSQL_FAILURE | Failure |
The documentation for this class was generated from the following files: