summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2003-07-22 22:21:23 +0200
committerserg@serg.mylan <>2003-07-22 22:21:23 +0200
commit2cac8f07682491c20b0419cbdb4fe5b164472094 (patch)
tree0eec29de18641195250ca526517244f6f0b0e820 /sql/sql_acl.h
parentb0b6d81b5e57aa03b09a5a514c917788e12be2e3 (diff)
downloadmariadb-git-2cac8f07682491c20b0419cbdb4fe5b164472094.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,