MySQL 8.0.40
Source Code Documentation
|
Clone handler interface to access clone plugin. More...
#include <atomic>
#include <string>
#include "my_io.h"
#include "mysql.h"
#include "sql/sql_plugin_ref.h"
Go to the source code of this file.
Classes | |
class | Clone_handler |
Clone plugin handler to convenient way to. More... | |
struct | Clone_handler::XA_Operation |
struct | Clone_handler::XA_Block |
Macros | |
#define | CLONE_PSI_STATEMENT_COUNT 5 |
Number of PSI_statement_info instruments for clone statements. More... | |
Functions | |
Clone_handler * | clone_plugin_lock (THD *thd, plugin_ref *plugin) |
Check if the clone plugin is installed and lock. More... | |
void | clone_plugin_unlock (THD *thd, plugin_ref plugin) |
Unlock the clone plugin. More... | |
Clone handler interface to access clone plugin.
#define CLONE_PSI_STATEMENT_COUNT 5 |
Number of PSI_statement_info instruments for clone statements.
Clone_handler * clone_plugin_lock | ( | THD * | thd, |
plugin_ref * | plugin | ||
) |
Check if the clone plugin is installed and lock.
If the plugin is ready, return the handler to caller.
[in] | thd | server thread handle |
[out] | plugin | plugin reference |
void clone_plugin_unlock | ( | THD * | thd, |
plugin_ref | plugin | ||
) |
Unlock the clone plugin.
[in] | thd | server thread handle |
[out] | plugin | plugin reference |