For the complete documentation index, see llms.txt. This page is also available as Markdown.

THD Autoinc Service

Plugin API reference: THD Autoinc Service. Generated from the MariaDB server headers by doxygen and moxygen.

Plugin API / Services for Plugins / Plugin Services

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

Name
Description

Macros

Name
Description

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

Parameter
Type
Description

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

Return
Name
Description

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

Return
Name
Description

thd_get_autoinc_func

Defined in service_thd_autoinc.h:44

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?