diff options
author | Sergey Vojtovich <svoj@sun.com> | 2010-04-15 13:36:36 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2010-04-15 13:36:36 +0400 |
commit | 6b278654a1c6c4bd785b3516c729b2306048ea8e (patch) | |
tree | 1d3754e7298cb0a8f2089705931dbc3fbbd3e20a /sql/sql_audit.cc | |
parent | 471d515ff4bc075cec744801ec868030959497bb (diff) | |
parent | 535093e4db2ea85c7278ceaf3867840ad509d7b7 (diff) | |
download | mariadb-git-6b278654a1c6c4bd785b3516c729b2306048ea8e.tar.gz |
Merge fixes for BUG46587 and BUG47059 to trunk-bugfixing.
Diffstat (limited to 'sql/sql_audit.cc')
-rw-r--r-- | sql/sql_audit.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_audit.cc b/sql/sql_audit.cc index 39ab33abfe6..7d269d455a9 100644 --- a/sql/sql_audit.cc +++ b/sql/sql_audit.cc @@ -65,6 +65,7 @@ static void general_class_handler(THD *thd, uint event_subtype, va_list ap) { mysql_event_general event; event.event_class= MYSQL_AUDIT_GENERAL_CLASS; + event.event_subclass= event_subtype; event.general_error_code= va_arg(ap, int); event.general_thread_id= thd ? thd->thread_id : 0; event.general_time= va_arg(ap, time_t); |