diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-02-09 21:53:11 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-02-11 08:10:26 +0400 |
commit | 83e75b39b3611d60ac59e851f742a13f2ee95393 (patch) | |
tree | a1ab536573067a6578631d3e5e89da612f745ec8 /sql/event_scheduler.cc | |
parent | f79f537f9facb5a050697ad3dbf6e4a617c3c128 (diff) | |
download | mariadb-git-83e75b39b3611d60ac59e851f742a13f2ee95393.tar.gz |
MDEV-21702 Add a data type for privileges
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r-- | sql/event_scheduler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 8d90e8aed70..9a8869e2fb3 100644 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -177,8 +177,8 @@ pre_init_event_thread(THD* thd) set_current_thd(thd); thd->client_capabilities= 0; - thd->security_ctx->master_access= 0; - thd->security_ctx->db_access= 0; + thd->security_ctx->master_access= NO_ACL; + thd->security_ctx->db_access= NO_ACL; thd->security_ctx->host_or_ip= (char*)my_localhost; my_net_init(&thd->net, NULL, thd, MYF(MY_THREAD_SPECIFIC)); thd->security_ctx->set_user((char*)"event_scheduler"); |