summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-07-22 22:21:23 +0200
committerunknown <serg@serg.mylan>2003-07-22 22:21:23 +0200
commit1cf4eea19d870f9e6fe147ec36b7df0eef1514cf (patch)
tree0eec29de18641195250ca526517244f6f0b0e820 /sql/sql_acl.h
parentb413e5c420c3cdb32b519f67aaacf7ad1126d71e (diff)
downloadmariadb-git-1cf4eea19d870f9e6fe147ec36b7df0eef1514cf.tar.gz
now GRANT db.* ... compares patterns correctly to prevent privilege escalation
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index e6c6771253c..ca976f43999 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -134,7 +134,7 @@ my_bool acl_init(THD *thd, bool dont_read_acl_tables);
void acl_reload(THD *thd);
void acl_free(bool end=0);
ulong acl_get(const char *host, const char *ip, const char *bin_ip,
- const char *user, const char *db);
+ const char *user, const char *db, my_bool db_is_pattern);
ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
const char *password,const char *scramble,
char **priv_user, char *priv_host,