summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_audit.h.pp
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-19 12:50:16 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-19 12:50:16 +0200
commitb9b3d5330adf00f40e099ab079a0b0be1bcb8875 (patch)
treee49ca2008eb2b36a30e269b86f4a300bfe97fdc5 /include/mysql/plugin_audit.h.pp
parent4d78392be5649d06c8d1c6b57c9e4ec95b84df5f (diff)
downloadmariadb-git-b9b3d5330adf00f40e099ab079a0b0be1bcb8875.tar.gz
MDEV-260 auditing table accesses
Diffstat (limited to 'include/mysql/plugin_audit.h.pp')
-rw-r--r--include/mysql/plugin_audit.h.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp
index f19d5fe797c..cb8435a1ec7 100644
--- a/include/mysql/plugin_audit.h.pp
+++ b/include/mysql/plugin_audit.h.pp
@@ -279,6 +279,27 @@ struct mysql_event_connection
const char *database;
unsigned int database_length;
};
+struct mysql_event_table
+{
+ unsigned int event_subclass;
+ unsigned long thread_id;
+ const char *user;
+ const char *priv_user;
+ const char *priv_host;
+ const char *external_user;
+ const char *proxy_user;
+ const char *host;
+ const char *ip;
+ const char *database;
+ unsigned int database_length;
+ const char *table;
+ unsigned int table_length;
+ int read_only;
+ const char *new_database;
+ unsigned int new_database_length;
+ const char *new_table;
+ unsigned int new_table_length;
+};
struct st_mysql_audit
{
int interface_version;