MySQL 8.4.2
Source Code Documentation
|
#include <mysql/components/component_implementation.h>
#include <string.h>
#include "mysql/components/services/mysql_query_attributes.h"
#include "mysql/components/services/mysql_string.h"
#include "mysql/components/services/psi_memory.h"
#include "mysql/components/services/udf_metadata.h"
#include "mysql/components/services/udf_registration.h"
#include "mysql/components/library_mysys/my_memory.h"
#include <my_compiler.h>
#include <mysql/psi/mysql_memory.h>
Functions | |
static | REQUIRES_SERVICE_PLACEHOLDER (udf_registration) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_query_attributes_iterator) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_query_attribute_string) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_query_attribute_isnull) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_string_converter) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_udf_metadata) |
static | REQUIRES_SERVICE_PLACEHOLDER (mysql_string_factory) |
static char * | mysql_query_attribute_string (UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error) |
static bool | mysql_query_attribute_string_init (UDF_INIT *initid, UDF_ARGS *args, char *message) |
static void | mysql_query_attribute_string_deinit (UDF_INIT *initid) |
static mysql_service_status_t | init () |
static mysql_service_status_t | deinit () |
END_COMPONENT_PROVIDES () | |
REQUIRES_SERVICE (udf_registration) | |
REQUIRES_SERVICE (mysql_query_attributes_iterator) | |
REQUIRES_SERVICE (mysql_query_attribute_string) | |
REQUIRES_SERVICE (mysql_query_attribute_isnull) | |
REQUIRES_SERVICE (mysql_string_converter) | |
REQUIRES_SERVICE (mysql_string_factory) | |
REQUIRES_SERVICE (mysql_udf_metadata) | |
END_COMPONENT_REQUIRES () | |
METADATA ("mysql.author", "Oracle Corporation") | |
METADATA ("mysql.license", "GPL") | |
METADATA ("query_attributes", "1") | |
END_COMPONENT_METADATA () | |
Variables | |
REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER | |
static const size_t | query_attribute_value_max_length = 1024 |
static const char * | query_attribute_return_charset = "utf8mb4" |
static PSI_memory_key | KEY_memory |
REQUIRES_PSI_MEMORY_SERVICE | |
mysql_component_t | mysql_component_query_attributes |
|
static |
END_COMPONENT_METADATA | ( | ) |
END_COMPONENT_PROVIDES | ( | ) |
END_COMPONENT_REQUIRES | ( | ) |
|
static |
METADATA | ( | "mysql.author" | , |
"Oracle Corporation" | |||
) |
METADATA | ( | "mysql.license" | , |
"GPL" | |||
) |
METADATA | ( | "query_attributes" | , |
"1" | |||
) |
|
static |
|
static |
|
static |
REQUIRES_SERVICE | ( | mysql_query_attribute_isnull | ) |
REQUIRES_SERVICE | ( | mysql_query_attribute_string | ) |
REQUIRES_SERVICE | ( | mysql_query_attributes_iterator | ) |
REQUIRES_SERVICE | ( | mysql_string_converter | ) |
REQUIRES_SERVICE | ( | mysql_string_factory | ) |
REQUIRES_SERVICE | ( | mysql_udf_metadata | ) |
REQUIRES_SERVICE | ( | udf_registration | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
mysql_component_t mysql_component_query_attributes |
|
static |
|
static |
REQUIRES_PSI_MEMORY_SERVICE |
REQUIRES_PSI_MEMORY_SERVICE_PLACEHOLDER |