summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-04-29 00:15:18 +0200
committerunknown <serg@serg.mylan>2003-04-29 00:15:18 +0200
commitd098137155f184aaa25b9710d40854928276fcaf (patch)
tree4123c13b090559901f6bffb85ed81ccc76a90928 /sql/sql_acl.h
parent13a24a513d4d761836eef44a0b1e28174338d9a1 (diff)
downloadmariadb-git-d098137155f184aaa25b9710d40854928276fcaf.tar.gz
CURRENT_USER() and "access denied" error messages now report hostname exactly as it was specified in the GRANT command (with wildcards, that is)
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index 6925b6b406c..26e445fb7ea 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -87,7 +87,8 @@ 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);
ulong acl_getroot(THD *thd, const char *host, const char *ip, const char *user,
- const char *password,const char *scramble,char **priv_user,
+ const char *password,const char *scramble,
+ char **priv_user, char **priv_host,
bool old_ver, USER_RESOURCES *max);
bool acl_check_host(const char *host, const char *ip);
bool check_change_password(THD *thd, const char *host, const char *user);