MySQL 8.0.39
Source Code Documentation
Plugin_group_replication_auto_increment Class Reference

#include <auto_increment.h>

Public Member Functions

 Plugin_group_replication_auto_increment ()
 Plugin_group_replication_auto_increment constructor. More...
 
void set_auto_increment_variables (ulong increment, ulong offset)
 Set auto_increment_increment and auto_increment_offset. More...
 
void reset_auto_increment_variables (bool force=false)
 Reset auto_increment_increment and auto_increment_offset, if modified by this plugin in set function. More...
 

Private Attributes

ulong group_replication_auto_increment
 
ulong group_replication_auto_offset
 

Constructor & Destructor Documentation

◆ Plugin_group_replication_auto_increment()

Plugin_group_replication_auto_increment::Plugin_group_replication_auto_increment ( )

Plugin_group_replication_auto_increment constructor.

Set auto_increment_increment and auto_increment_offset in the server

Member Function Documentation

◆ reset_auto_increment_variables()

void Plugin_group_replication_auto_increment::reset_auto_increment_variables ( bool  force = false)

Reset auto_increment_increment and auto_increment_offset, if modified by this plugin in set function.

Parameters
forceif true, it ignores the member being in primary mode or not

◆ set_auto_increment_variables()

void Plugin_group_replication_auto_increment::set_auto_increment_variables ( ulong  increment,
ulong  offset 
)

Set auto_increment_increment and auto_increment_offset.

Parameters
incrementthe interval between successive column values
offsetthe starting point for the AUTO_INCREMENT column value

Member Data Documentation

◆ group_replication_auto_increment

ulong Plugin_group_replication_auto_increment::group_replication_auto_increment
private

◆ group_replication_auto_offset

ulong Plugin_group_replication_auto_increment::group_replication_auto_offset
private

The documentation for this class was generated from the following files: