MySQL 9.1.0
Source Code Documentation
s_mysql_mysql_stored_program_runtime_argument_string Struct Reference

#include <mysql_stored_program.h>

Public Attributes

mysql_service_status_t(* get )(stored_program_runtime_context sp_runtime_context, uint16_t index, char const **value, size_t *length, bool *is_null)
 Get value of a string argument. More...
 
mysql_service_status_t(* set )(stored_program_runtime_context sp_runtime_context, uint16_t index, char const *string, size_t length)
 Set value of a string argument with utf8mb4 as charset. More...
 

Member Data Documentation

◆ get

mysql_service_status_t(* s_mysql_mysql_stored_program_runtime_argument_string::get) (stored_program_runtime_context sp_runtime_context, uint16_t index, char const **value, size_t *length, bool *is_null)

Get value of a string argument.

Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument position
[out]valueA pointer to the current value
[out]lengthLength of the current value
[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_string::set) (stored_program_runtime_context sp_runtime_context, uint16_t index, char const *string, size_t length)

Set value of a string argument with utf8mb4 as charset.

Parameters
[in]sp_runtime_contextstored program runtime context. If null, current runtime context will be used.
[in]indexArgument position
[in]stringValue of the argument
[in]lengthLength of the string
Returns
Status of operation
Return values
falseSuccess
trueError

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