MySQL 8.3.0
Source Code Documentation
s_mysql_mysql_string_character_access Struct Reference

Service to get a character in String and number of characters in string. More...

#include <mysql_string.h>

Public Attributes

mysql_service_status_t(* get_char )(my_h_string string, uint index, ulong *out_char)
 Gets client character code of character on specified index position in string to a specified buffer. More...
 
mysql_service_status_t(* get_char_length )(my_h_string string, uint *out_length)
 Gets length of specified string expressed as number of characters. More...
 

Detailed Description

Service to get a character in String and number of characters in string.

Member Data Documentation

◆ get_char

mysql_service_status_t(* s_mysql_mysql_string_character_access::get_char) (my_h_string string, uint index, ulong *out_char)

Gets client character code of character on specified index position in string to a specified buffer.

Parameters
stringString object handle to get character from.
indexIndex, position of character to query.
[out]out_charPointer to long value to store character to.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

◆ get_char_length

mysql_service_status_t(* s_mysql_mysql_string_character_access::get_char_length) (my_h_string string, uint *out_length)

Gets length of specified string expressed as number of characters.

Parameters
stringString object handle to get length of.
[out]out_lengthPointer to 64bit value to store length of string to.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

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