mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
5.5 merge and fixes for compiler/test errors
This commit is contained in:
@ -82,6 +82,9 @@ static void general_class_handler(THD *thd, uint event_subtype, va_list ap)
|
||||
event.general_query_length= va_arg(ap, unsigned int);
|
||||
event.general_charset= va_arg(ap, struct charset_info_st *);
|
||||
event.general_rows= (unsigned long long) va_arg(ap, ha_rows);
|
||||
event.database= va_arg(ap, const char *);
|
||||
event.database_length= va_arg(ap, unsigned int);
|
||||
event.query_id= (unsigned long long) thd->query_id;
|
||||
event_class_dispatch(thd, MYSQL_AUDIT_GENERAL_CLASS, &event);
|
||||
}
|
||||
|
||||
@ -131,6 +134,7 @@ static void table_class_handler(THD *thd, uint event_subclass, va_list ap)
|
||||
event.new_database_length= va_arg(ap, unsigned int);
|
||||
event.new_table= va_arg(ap, const char *);
|
||||
event.new_table_length= va_arg(ap, unsigned int);
|
||||
event.query_id= (unsigned long long) thd->query_id;
|
||||
event_class_dispatch(thd, MYSQL_AUDIT_TABLE_CLASS, &event);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user