summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2020-02-09 21:53:11 +0400
committerAlexander Barkov <bar@mariadb.com>2020-02-11 08:10:26 +0400
commit83e75b39b3611d60ac59e851f742a13f2ee95393 (patch)
treea1ab536573067a6578631d3e5e89da612f745ec8 /libmysqld
parentf79f537f9facb5a050697ad3dbf6e4a617c3c128 (diff)
downloadmariadb-git-83e75b39b3611d60ac59e851f742a13f2ee95393.tar.gz
MDEV-21702 Add a data type for privileges
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 1d5133794d2..8b25515405c 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -704,7 +704,7 @@ void *create_embedded_thd(int client_flag)
thd->db= null_clex_str;
#ifndef NO_EMBEDDED_ACCESS_CHECKS
thd->security_ctx->db_access= DB_ACLS;
- thd->security_ctx->master_access= ~NO_ACCESS;
+ thd->security_ctx->master_access= ALL_KNOWN_ACL;
#endif
thd->cur_data= 0;
thd->first_data= 0;