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

Audit Class: General

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

Plugin API / Plugin Types / Audit Plugin

LOG events occurs before emitting to the general query log. ERROR events occur before transmitting errors to the user. RESULT events occur after transmitting a resultset to the user. STATUS events occur after transmitting a resultset or errors to the user.

Classes

Name
Description

Macros


MYSQL_AUDIT_GENERAL_CLASS

#define MYSQL_AUDIT_GENERAL_CLASS 0

Defined in plugin_audit.h:50


MYSQL_AUDIT_GENERAL_CLASSMASK

Defined in plugin_audit.h:51


MYSQL_AUDIT_GENERAL_LOG

Defined in plugin_audit.h:52


MYSQL_AUDIT_GENERAL_ERROR

Defined in plugin_audit.h:53


MYSQL_AUDIT_GENERAL_RESULT

Defined in plugin_audit.h:54


MYSQL_AUDIT_GENERAL_STATUS

Defined in plugin_audit.h:55


MYSQL_AUDIT_GENERAL_WARNING

Defined in plugin_audit.h:56

Class Definitions

mysql_event_general

Defined in plugin_audit.h:58

Public Attributes

Return
Name
Description

unsigned int

unsigned long

const char *

const char *

const char *

const struct charset_info_st *

unsigned long long

unsigned long long

unsigned long long

unsigned int

unsigned long long


event_subclass

Defined in plugin_audit.h:60


general_error_code

Defined in plugin_audit.h:61


general_thread_id

Defined in plugin_audit.h:62


general_user

Defined in plugin_audit.h:63


general_user_length

Defined in plugin_audit.h:64


general_command

Defined in plugin_audit.h:65


general_command_length

Defined in plugin_audit.h:66


general_query

Defined in plugin_audit.h:67


general_query_length

Defined in plugin_audit.h:68


general_charset

Defined in plugin_audit.h:69


general_time

Defined in plugin_audit.h:70


general_rows

Defined in plugin_audit.h:71


query_id

Defined in plugin_audit.h:73


port

Defined in plugin_audit.h:75


database

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:76


general_time_microseconds

Defined in plugin_audit.h:84

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?