MySQL 9.1.0
Source Code Documentation
plugin_clone.h File Reference

API for clone plugin. More...

#include "plugin.h"
#include "violite.h"

Go to the source code of this file.

Classes

struct  Mysql_clone
 The descriptor structure for the plugin, that is referred from st_mysql_plugin. More...
 

Macros

#define MYSQL_CLONE_INTERFACE_VERSION   0x0100
 Clone plugin interface version. More...
 

Functions

int clone_handle_create (const char *plugin_name)
 Create clone handle to access the clone interfaces from server. More...
 
int clone_handle_drop ()
 Drop clone handle. More...
 
int clone_handle_check_drop (MYSQL_PLUGIN plugin_info)
 Check if it is safe to uninstall clone plugin. More...
 

Detailed Description

API for clone plugin.

Macro Definition Documentation

◆ MYSQL_CLONE_INTERFACE_VERSION

#define MYSQL_CLONE_INTERFACE_VERSION   0x0100

Clone plugin interface version.

Function Documentation

◆ clone_handle_check_drop()

int clone_handle_check_drop ( MYSQL_PLUGIN  plugin_info)

Check if it is safe to uninstall clone plugin.

Parameters
[in,out]plugin_infoplugin
Returns
error code

◆ clone_handle_create()

int clone_handle_create ( const char *  plugin_name)

Create clone handle to access the clone interfaces from server.

Called when Clone plugin is installed.

Parameters
[in]plugin_nameclone plugin name
Returns
error code

◆ clone_handle_drop()

int clone_handle_drop ( )

Drop clone handle.

Called when Clone plugin is uninstalled.

Returns
error code