24#ifndef SQL_SQL_EVENT_TRACKING_TO_AUDIT_EVENT_MAPPING_H
25#define SQL_SQL_EVENT_TRACKING_TO_AUDIT_EVENT_MAPPING_H
29#include <unordered_map>
61 return static_cast<std::size_t
>(t);
Definition: sql_event_tracking_to_audit_event_mapping.h:65
unsigned long plugin_sub_event(unsigned long subevent)
Definition: sql_event_tracking_to_audit_event_mapping.h:87
Singleton_event_tracking_service_to_plugin_mapping()
Definition: sql_event_tracking_to_audit_event_mapping.cc:62
const std::string event_tracking_names(Event_tracking_class)
Singleton_event_tracking_service_to_plugin_mapping(const Singleton_event_tracking_service_to_plugin_mapping &)=delete
mysql_event_class_t plugin_event_class(Event_tracking_class event_tracking_class)
Definition: sql_event_tracking_to_audit_event_mapping.cc:92
~Singleton_event_tracking_service_to_plugin_mapping()
Definition: sql_event_tracking_to_audit_event_mapping.h:85
void operator=(const Singleton_event_tracking_service_to_plugin_mapping &)=delete
static void remove_instance()
Definition: sql_event_tracking_to_audit_event_mapping.h:74
void operator=(Singleton_event_tracking_service_to_plugin_mapping &&)=delete
Singleton_event_tracking_service_to_plugin_mapping(Singleton_event_tracking_service_to_plugin_mapping &&)=delete
static Singleton_event_tracking_service_to_plugin_mapping * create_instance()
Definition: sql_event_tracking_to_audit_event_mapping.h:67
std::array< mysql_event_class_t, static_cast< size_t >(Event_tracking_class::LAST)> event_tracking_to_plugin_event_map_
Definition: sql_event_tracking_to_audit_event_mapping.h:98
static Singleton_event_tracking_service_to_plugin_mapping * instance
Definition: sql_event_tracking_to_audit_event_mapping.h:99
constexpr bool unlikely(bool expr)
Definition: my_compiler.h:58
mysql_event_class_t
Audit event classes.
Definition: plugin_audit.h:50
const char * plugin_event_names[]
Definition: sql_event_tracking_to_audit_event_mapping.cc:29
Event_tracking_class
Event tracking classes If a new event tracking class is introduced, this class should be kept in sync...
Definition: sql_event_tracking_to_audit_event_mapping.h:41
const char * event_tracking_names[]
Definition: sql_event_tracking_to_audit_event_mapping.cc:44
Definition: sql_event_tracking_to_audit_event_mapping.h:58
std::size_t operator()(T t) const
Definition: sql_event_tracking_to_audit_event_mapping.h:60