MySQL 9.0.0
Source Code Documentation
mysql_global_variable_attributes_service.h
Go to the documentation of this file.
1/* Copyright (c) 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef MYSQL_GLOBAL_VARIABLE_ATTRIBUTES_SERVICE_INCLUDED
25#define MYSQL_GLOBAL_VARIABLE_ATTRIBUTES_SERVICE_INCLUDED
26
30
31/*
32 Version 1.
33 Introduced in MySQL 9.0.0
34 Status: Active.
35*/
36BEGIN_SERVICE_DEFINITION(mysql_global_variable_attributes)
37
42
43END_SERVICE_DEFINITION(mysql_global_variable_attributes)
44
45/*
46 Version 1.
47 Introduced in MySQL 9.0.0
48 Status: Active.
49*/
50BEGIN_SERVICE_DEFINITION(mysql_global_variable_attributes_iterator)
51
57
58END_SERVICE_DEFINITION(mysql_global_variable_attributes_iterator)
59
60#endif /* MYSQL_GLOBAL_VARIABLE_ATTRIBUTES_SERVICE_INCLUDED */
int destroy(azio_stream *s)
Definition: azio.cc:371
bool(* global_variable_attributes_get_t)(const char *variable_base, const char *variable_name, const char *attribute_name, char *attribute_value_buffer, size_t *inout_attribute_value_length)
Read a single global system variable attribute value, if exists.
Definition: global_variable_attributes_bits.h:138
bool(* global_variable_attributes_iterator_get_value_t)(global_variable_attributes_iterator iterator, my_h_string *out_value_handle)
Return attribute value for the element pointed by System Variable Attributes iterator.
Definition: global_variable_attributes_bits.h:102
bool(* global_variable_attributes_iterator_create_t)(const char *variable_base, const char *variable_name, const char *attribute_name, global_variable_attributes_iterator *iterator)
Initialize System Variable Attributes iterator object to enumerate key/value attributes attached to s...
Definition: global_variable_attributes_bits.h:49
bool(* global_variable_attributes_get_time_t)(const char *variable_base, const char *variable_name, char *timestamp_value_buffer, size_t *inout_timestamp_value_length)
Read timestamp indicating when a global system variable was last modified.
Definition: global_variable_attributes_bits.h:156
bool(* global_variable_attributes_iterator_advance_t)(global_variable_attributes_iterator iterator)
Advance System Variable Attributes iterator to next element.
Definition: global_variable_attributes_bits.h:74
bool(* global_variable_attributes_iterator_get_name_t)(global_variable_attributes_iterator iterator, my_h_string *out_name_handle)
Return attribute name for the element pointed by System Variable Attributes iterator.
Definition: global_variable_attributes_bits.h:88
bool(* global_variable_attributes_assign_t)(const char *variable_base, const char *variable_name, const char *attribute_name, const char *attribute_value)
Attach a single key/value attribute to a given global system variable, or delete one or all attribute...
Definition: global_variable_attributes_bits.h:120
bool(* global_variable_attributes_get_user_t)(const char *variable_base, const char *variable_name, char *user_value_buffer, size_t *inout_user_value_length)
Read user name that last modified a global system variable.
Definition: global_variable_attributes_bits.h:173
bool(* global_variable_attributes_iterator_destroy_t)(global_variable_attributes_iterator iterator)
Uninitialize System Variable Attributes iterator.
Definition: global_variable_attributes_bits.h:62
static mysql_service_status_t get(THD **thd) noexcept
Definition: mysql_current_thread_reader_all_empty.cc:31
static mysql_service_status_t create(my_h_string *) noexcept
Definition: mysql_string_all_empty.cc:43
std::set< Key, Compare, ut::allocator< Key > > set
Specialization of set which uses ut_allocator.
Definition: ut0new.h:2883
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
Specifies macros to define Service Implementations.