summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2005-12-02 13:07:02 +0100
committerunknown <andrey@lmy004.>2005-12-02 13:07:02 +0100
commit4d891eb91cd0556e05a2022c4120d776ca772f69 (patch)
tree7152e34323e50a0845f559f1477316b2b57c7737 /sql/sql_acl.h
parentdad8c66501f097491690ee3098594c1a0844b3f4 (diff)
downloadmariadb-git-4d891eb91cd0556e05a2022c4120d776ca772f69.tar.gz
WL1034 update for latest 5.1 sources
BUILD/SETUP.sh: for now no optimizations in debug build - get rid of "value optimized out"
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index 0a9c6ba785f..c1e0e94dd06 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -42,6 +42,7 @@
#define CREATE_PROC_ACL (1L << 23)
#define ALTER_PROC_ACL (1L << 24)
#define CREATE_USER_ACL (1L << 25)
+#define EVENT_ACL (1L << 26)
/*
don't forget to update
1. static struct show_privileges_st sys_privileges[]
@@ -78,7 +79,7 @@
REFERENCES_ACL | INDEX_ACL | ALTER_ACL | SHOW_DB_ACL | SUPER_ACL | \
CREATE_TMP_ACL | LOCK_TABLES_ACL | REPL_SLAVE_ACL | REPL_CLIENT_ACL | \
EXECUTE_ACL | CREATE_VIEW_ACL | SHOW_VIEW_ACL | CREATE_PROC_ACL | \
- ALTER_PROC_ACL | CREATE_USER_ACL)
+ ALTER_PROC_ACL | CREATE_USER_ACL | EVENT_ACL)
#define DEFAULT_CREATE_PROC_ACLS \
(ALTER_PROC_ACL | EXECUTE_ACL)