THD Autoinc Service
Plugin API reference: THD Autoinc Service. Generated from the MariaDB server headers by doxygen and moxygen.
Access to the auto_increment related system variables.
This service is used by plugins that need to know the current values of the auto_increment_offset and auto_increment_increment system variables for a given thread. This service provides access to the auto_increment related system variables:
@@auto_increment_offset@@auto_increment_increment
Classes
Macros
Return autoincrement system variables
thd_get_autoinc
#define thd_get_autoinc(thd, off, inc, thd, off, inc) (thd_autoinc_service->thd_get_autoinc_func((thd), (off), (inc)))Defined in service_thd_autoinc.h:55
Return autoincrement system variables
Parameters
thd
user thread connection handle
off
the value of @SESSION.auto_increment_offset
inc
the value of @SESSION.auto_increment_increment
thd
user thread connection handle
off
the value of @SESSION.auto_increment_offset
inc
the value of @SESSION.auto_increment_increment
Variables
thd_autoinc_service
Type: struct thd_autoinc_service_st *
Defined in service_thd_autoinc.h:46
Class Definitions
thd_autoinc_service_st
Defined in service_thd_autoinc.h:43
Public Attributes
thd_get_autoinc_func
Defined in service_thd_autoinc.h:44
This page is licensed: GPLv2
Last updated
Was this helpful?

