MySQL 9.1.0
Source Code Documentation
|
This is the Log_resource to handle MYSQL_BIN_LOG resources. More...
#include <log_resource.h>
Public Member Functions | |
Log_resource_binlog_wrapper (MYSQL_BIN_LOG *binlog_arg, Json_dom *json_arg) | |
Log_resource_binlog_wrapper constructor. More... | |
void | lock () override |
Lock the resource avoiding updates. More... | |
void | unlock () override |
Unlock the resource allowing updates. More... | |
bool | collect_info () override |
Collect resource log information. More... | |
Public Member Functions inherited from Log_resource | |
Log_resource (Json_dom *json_arg) | |
Log_resource constructor. More... | |
virtual | ~Log_resource () |
Destructor. More... | |
Json_dom * | get_json () |
Return the pointer to the JSON object that should be used to fill the resource log information. More... | |
Private Attributes | |
MYSQL_BIN_LOG * | binlog = nullptr |
Additional Inherited Members | |
Static Public Member Functions inherited from Log_resource | |
static int | dummy_function_to_ensure_we_are_linked_into_the_server () |
There must be one function of this kind in order for the symbols in the server's dynamic library to be visible to plugins. More... | |
This is the Log_resource to handle MYSQL_BIN_LOG resources.
|
inline |
Log_resource_binlog_wrapper constructor.
[in] | binlog_arg | the pointer to the MYSQL_BIN_LOG object resource. |
[in] | json_arg | the pointer to the JSON object to be populated with the resource log information. |
|
overridevirtual |
Collect resource log information.
Implements Log_resource.
|
overridevirtual |
Lock the resource avoiding updates.
Implements Log_resource.
|
overridevirtual |
Unlock the resource allowing updates.
Implements Log_resource.
|
private |