MySQL 9.1.0
Source Code Documentation
Service Interface

Service mysql_global_variable_attributes exposes the following methods to read/write attributes:

  • get : get attribute value, given an attribute name and a name of global system variable
  • set : attach a single attribute to a global system variable, alternatively delete one or all attributes of this variable
  • get_time : get timestamp of the last system variable change
  • get_user : get user name related to the last system variable change

Service mysql_global_variable_attributes_iterator exposes the following methods to discover attached atributes using an attribute iterator

  • create : create attribute iterator (on success points to 1st attribute)
  • destroy : destroy attribute iterator
  • advance : advance attribute iterator to point to next item (if exists)
  • get_name : get name of the attribute, given an iterator pointing to it
  • get_value : get value of the attribute, given an iterator