MySQL 9.1.0
Source Code Documentation
mysql_global_variable_attributes_service_imp.cc File Reference

The server implementation of system variable attributes service. More...

#include "mysql_global_variable_attributes_service_imp.h"
#include <my_systime.h>
#include <my_time.h>
#include <mysql/components/services/mysql_global_variable_attributes_service.h>
#include <sql/set_var.h>
#include <sql/sql_class.h>
#include <sql/tztime.h>
#include <map>
#include <string>

Classes

class  global_variable_attributes_iterator_internal
 

Functions

static bool imp_global_variable_attributes_iterator_create (const char *variable_base, const char *variable_name, const char *attribute_name, global_variable_attributes_iterator *out_iterator)
 
static bool imp_global_variable_attributes_iterator_destroy (global_variable_attributes_iterator iterator)
 
static bool imp_global_variable_attributes_iterator_next (global_variable_attributes_iterator iterator)
 
static bool imp_global_variable_attributes_iterator_get_name (global_variable_attributes_iterator iterator, my_h_string *out_name_handle)
 
static bool imp_global_variable_attributes_iterator_get_value (global_variable_attributes_iterator iterator, my_h_string *out_value_handle)
 
static bool imp_global_variable_attributes_set (const char *variable_base, const char *variable_name, const char *attribute_name, const char *attribute_value)
 
static bool imp_global_variable_attributes_get (const char *variable_base, const char *variable_name, const char *attribute_name, char *attribute_value_buffer, size_t *inout_attribute_value_length)
 
static bool imp_global_variable_attributes_get_time (const char *variable_base, const char *variable_name, char *timestamp_value_buffer, size_t *inout_timestamp_value_length)
 
static bool imp_global_variable_attributes_get_user (const char *variable_base, const char *variable_name, char *user_value_buffer, size_t *inout_user_value_length)
 

Variables

const mysql_service_mysql_global_variable_attributes_t imp_mysql_server_mysql_global_variable_attributes
 
const mysql_service_mysql_global_variable_attributes_iterator_t imp_mysql_server_mysql_global_variable_attributes_iterator
 

Detailed Description

The server implementation of system variable attributes service.

Function Documentation

◆ imp_global_variable_attributes_get()

static bool imp_global_variable_attributes_get ( const char *  variable_base,
const char *  variable_name,
const char *  attribute_name,
char *  attribute_value_buffer,
size_t *  inout_attribute_value_length 
)
static

◆ imp_global_variable_attributes_get_time()

static bool imp_global_variable_attributes_get_time ( const char *  variable_base,
const char *  variable_name,
char *  timestamp_value_buffer,
size_t *  inout_timestamp_value_length 
)
static

◆ imp_global_variable_attributes_get_user()

static bool imp_global_variable_attributes_get_user ( const char *  variable_base,
const char *  variable_name,
char *  user_value_buffer,
size_t *  inout_user_value_length 
)
static

◆ imp_global_variable_attributes_iterator_create()

static bool imp_global_variable_attributes_iterator_create ( const char *  variable_base,
const char *  variable_name,
const char *  attribute_name,
global_variable_attributes_iterator out_iterator 
)
static

◆ imp_global_variable_attributes_iterator_destroy()

static bool imp_global_variable_attributes_iterator_destroy ( global_variable_attributes_iterator  iterator)
static

◆ imp_global_variable_attributes_iterator_get_name()

static bool imp_global_variable_attributes_iterator_get_name ( global_variable_attributes_iterator  iterator,
my_h_string out_name_handle 
)
static

◆ imp_global_variable_attributes_iterator_get_value()

static bool imp_global_variable_attributes_iterator_get_value ( global_variable_attributes_iterator  iterator,
my_h_string out_value_handle 
)
static

◆ imp_global_variable_attributes_iterator_next()

static bool imp_global_variable_attributes_iterator_next ( global_variable_attributes_iterator  iterator)
static

◆ imp_global_variable_attributes_set()

static bool imp_global_variable_attributes_set ( const char *  variable_base,
const char *  variable_name,
const char *  attribute_name,
const char *  attribute_value 
)
static

Variable Documentation

◆ imp_mysql_server_mysql_global_variable_attributes

const mysql_service_mysql_global_variable_attributes_t imp_mysql_server_mysql_global_variable_attributes
Initial value:
= {
static bool imp_global_variable_attributes_get_time(const char *variable_base, const char *variable_name, char *timestamp_value_buffer, size_t *inout_timestamp_value_length)
Definition: mysql_global_variable_attributes_service_imp.cc:251
static bool imp_global_variable_attributes_get_user(const char *variable_base, const char *variable_name, char *user_value_buffer, size_t *inout_user_value_length)
Definition: mysql_global_variable_attributes_service_imp.cc:289
static bool imp_global_variable_attributes_set(const char *variable_base, const char *variable_name, const char *attribute_name, const char *attribute_value)
Definition: mysql_global_variable_attributes_service_imp.cc:228
static bool imp_global_variable_attributes_get(const char *variable_base, const char *variable_name, const char *attribute_name, char *attribute_value_buffer, size_t *inout_attribute_value_length)
Definition: mysql_global_variable_attributes_service_imp.cc:236

◆ imp_mysql_server_mysql_global_variable_attributes_iterator

const mysql_service_mysql_global_variable_attributes_iterator_t imp_mysql_server_mysql_global_variable_attributes_iterator
Initial value:
= {
}
static bool imp_global_variable_attributes_iterator_get_name(global_variable_attributes_iterator iterator, my_h_string *out_name_handle)
Definition: mysql_global_variable_attributes_service_imp.cc:183
static bool imp_global_variable_attributes_iterator_destroy(global_variable_attributes_iterator iterator)
Definition: mysql_global_variable_attributes_service_imp.cc:162
static bool imp_global_variable_attributes_iterator_get_value(global_variable_attributes_iterator iterator, my_h_string *out_value_handle)
Definition: mysql_global_variable_attributes_service_imp.cc:205
static bool imp_global_variable_attributes_iterator_next(global_variable_attributes_iterator iterator)
Definition: mysql_global_variable_attributes_service_imp.cc:172
static bool imp_global_variable_attributes_iterator_create(const char *variable_base, const char *variable_name, const char *attribute_name, global_variable_attributes_iterator *out_iterator)
Definition: mysql_global_variable_attributes_service_imp.cc:148