summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-03-27 22:54:18 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-03-29 16:59:34 +0400
commit94dea8ef5b9805fe368972c812183ec365084b87 (patch)
tree6ad8173c610c72591a0984f4adeb49830109dbd4 /plugin
parentc0ca3c4ffa45042d608e55326036443e8c4f600d (diff)
downloadmariadb-git-94dea8ef5b9805fe368972c812183ec365084b87.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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugin/server_audit/server_audit.c b/plugin/server_audit/server_audit.c
index 47878e2e667..666c928d7cc 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.9"
+#define PLUGIN_STR_VERSION "1.4.12"
#define _my_thread_var loc_thread_var
@@ -854,12 +854,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}
};