diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2021-03-27 23:07:31 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2021-03-27 23:07:31 +0400 |
commit | 96475b78c55141164ecf2719e000d189e4bcbc3d (patch) | |
tree | adb242dc1888b2848abc68c12521b83fccbac9d1 /plugin | |
parent | 3157fa182accab86a4dea45edbcbca4eb5157723 (diff) | |
download | mariadb-git-96475b78c55141164ecf2719e000d189e4bcbc3d.tar.gz |
MDEV-25457 CREATE / DROP PROCEDURE not logged with audit plugin.
CREATE/DROP PROCEDIRE/FUNCTION is now treated as DDL.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/server_audit/server_audit.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugin/server_audit/server_audit.c b/plugin/server_audit/server_audit.c index 9a954365d83..fd19122809a 100644 --- a/plugin/server_audit/server_audit.c +++ b/plugin/server_audit/server_audit.c @@ -15,7 +15,7 @@ #define PLUGIN_VERSION 0x104 -#define PLUGIN_STR_VERSION "1.4.11" +#define PLUGIN_STR_VERSION "1.4.13" #define _my_thread_var loc_thread_var @@ -858,12 +858,8 @@ struct sa_keyword keywords_to_skip[]= struct sa_keyword not_ddl_keywords[]= { - {4, "DROP", &function_word, SQLCOM_QUERY_ADMIN}, - {4, "DROP", &procedure_word, SQLCOM_QUERY_ADMIN}, {4, "DROP", &user_word, SQLCOM_DCL}, {6, "CREATE", &user_word, SQLCOM_DCL}, - {6, "CREATE", &function_word, SQLCOM_QUERY_ADMIN}, - {6, "CREATE", &procedure_word, SQLCOM_QUERY_ADMIN}, {6, "RENAME", &user_word, SQLCOM_DCL}, {0, NULL, 0, SQLCOM_DDL} }; |