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

Audit Class: Table

Plugin API reference: Audit Class: Table. Generated from the MariaDB server headers by doxygen and moxygen.

Plugin API / Plugin Types / Audit Plugin

LOCK occurs when a connection "locks" (this does not necessarily mean a table lock and also happens for row-locking engines) the table at the beginning of a statement. This event is generated at the beginning of every statement for every affected table, unless there's a LOCK TABLES statement in effect (in which case it is generated once for LOCK TABLES and then is suppressed until the tables are unlocked).

CREATE/DROP/RENAME occur when a table is created, dropped, or renamed.

Classes

Name
Description

Macros


MYSQL_AUDIT_TABLE_CLASS

#define MYSQL_AUDIT_TABLE_CLASS 15

Defined in plugin_audit.h:145


MYSQL_AUDIT_TABLE_CLASSMASK

Defined in plugin_audit.h:146


MYSQL_AUDIT_TABLE_LOCK

Defined in plugin_audit.h:147


MYSQL_AUDIT_TABLE_CREATE

Defined in plugin_audit.h:148


MYSQL_AUDIT_TABLE_DROP

Defined in plugin_audit.h:149


MYSQL_AUDIT_TABLE_RENAME

Defined in plugin_audit.h:150


MYSQL_AUDIT_TABLE_ALTER

Defined in plugin_audit.h:151

Class Definitions

mysql_event_table

Defined in plugin_audit.h:153

Public Attributes

Return
Name
Description

event_subclass

Defined in plugin_audit.h:155


thread_id

Defined in plugin_audit.h:156


user

Defined in plugin_audit.h:157


priv_user

Defined in plugin_audit.h:158


priv_host

Defined in plugin_audit.h:159


external_user

Defined in plugin_audit.h:160


proxy_user

Defined in plugin_audit.h:161


host

Defined in plugin_audit.h:162


ip

Defined in plugin_audit.h:163


port

Defined in plugin_audit.h:164


database

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:165


table

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:166


new_database

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:168


new_table

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:169


read_only

Defined in plugin_audit.h:171


query_id

Defined in plugin_audit.h:173

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?