diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2022-03-19 18:31:13 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2022-03-19 18:31:13 +0200 |
commit | cab7c62cc867a6a390db0a976c1a58de5ee3ee43 (patch) | |
tree | 7437a341a0a096ccffbbc5ad2347f3207d6d21ac | |
parent | 6f055a9cf1e7ac234735ee2da7928d6cfe3899b1 (diff) | |
download | mariadb-git-cab7c62cc867a6a390db0a976c1a58de5ee3ee43.tar.gz |
check_global_access match header and implementation
-rw-r--r-- | sql/sql_acl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index dc5f70645d7..116f17ecf97 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -3908,7 +3908,7 @@ bool check_some_access(THD *thd, privilege_t want_access, TABLE_LIST *table) 1 Access denied. In this case an error is sent to the client */ -bool check_global_access(THD *thd, privilege_t want_access, bool no_errors) +bool check_global_access(THD *thd, const privilege_t want_access, bool no_errors) { #ifndef NO_EMBEDDED_ACCESS_CHECKS char command[128]; |