MySQL 9.5.0
Source Code Documentation
s_mysql_mysql_first_query_attribute Struct Reference

A service to fetch the first query attribute. More...

#include <mysql_query_attributes.h>

Public Attributes

mysql_service_status_t(* get_name_data )(const char **name_buffer, size_t *name_length)
 Access the raw data of the first query attribute's name string. More...
 

Detailed Description

A service to fetch the first query attribute.

See also
mysql_component_mysql_query_attributes_imp

Member Data Documentation

◆ get_name_data

mysql_service_status_t(* s_mysql_mysql_first_query_attribute::get_name_data) (const char **name_buffer, size_t *name_length)

Access the raw data of the first query attribute's name string.

Only ASCII compatible charsets are allowed for character_set_client and this is the charset in which the name of the attribute is encoded. So that, the raw buffer may be safely interpreted as ASCII string.

Parameters
[out]name_bufferpointer to String raw buffer.
[out]name_lengthString raw buffer size. Checks if the parameter value is a null
Return values
falsesuccess (there is an attribute and the out parameters are set)
truefailure (there is no attribute or an error occurred)

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