![]() |
MySQL 9.5.0
Source Code Documentation
|
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... | |
A service to fetch the first query attribute.
| 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.
| [out] | name_buffer | pointer to String raw buffer. |
| [out] | name_length | String raw buffer size. Checks if the parameter value is a null |
| false | success (there is an attribute and the out parameters are set) |
| true | failure (there is no attribute or an error occurred) |