#include <mysql_stored_program_imp.h>
◆ get()
Get value of a string argument.
- Note
- : A pointer to the original data is returned. No guarantee is provided that the original data will not be consecutively modified. If the data is to be stored, it needs to be copied locally.
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument location |
[out] | value | A pointer to the original string |
[out] | length | Length of the original string |
[out] | is_null | Flag to indicate if value is null |
- Returns
- Status of operation
- Return values
-
MYSQL_SUCCESS | Success |
MYSQL_FAILURE | Failure |
◆ set()
Set value of a string argument.
- Parameters
-
[in] | sp_runtime_context | stored program runtime context. If null, current runtime context will be used. |
[in] | index | Argument location |
[in] | string | Value of the argument |
[in] | length | Length of the string |
- Returns
- Status of operation
- Return values
-
MYSQL_SUCCESS | Success |
MYSQL_FAILURE | Failure |
The documentation for this class was generated from the following files: