summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-11-20 12:55:48 +0400
committerunknown <hf@deer.(none)>2003-11-20 12:55:48 +0400
commit0aa62bc375b8e47f6e32bb35abd69e8d8ed5daea (patch)
treebb9ab3cee7a5a47b48a1959d9ae3451562aedf24 /sql/sql_acl.h
parent1cd722bb8f8c986bb65760259403b077fe795137 (diff)
downloadmariadb-git-0aa62bc375b8e47f6e32bb35abd69e8d8ed5daea.tar.gz
SCRUM
WL#1284 (warnings about --skip-name-resolve) Now MySQL will issue warnings during startup about entries in grant tables with hostnames that require resolve, and after GRANT commands with that kind of hostnames. include/mysqld_error.h: errno added sql/share/czech/errmsg.txt: error message added sql/share/danish/errmsg.txt: error message added sql/share/dutch/errmsg.txt: error message added sql/share/english/errmsg.txt: error message added sql/share/estonian/errmsg.txt: error message added sql/share/french/errmsg.txt: error message added sql/share/german/errmsg.txt: error message added sql/share/greek/errmsg.txt: error message added sql/share/hungarian/errmsg.txt: error message added sql/share/italian/errmsg.txt: error message added sql/share/japanese/errmsg.txt: error message added sql/share/korean/errmsg.txt: error message added sql/share/norwegian-ny/errmsg.txt: error message added sql/share/norwegian/errmsg.txt: error message added sql/share/polish/errmsg.txt: error message added sql/share/portuguese/errmsg.txt: error message added sql/share/romanian/errmsg.txt: error message added sql/share/russian/errmsg.txt: error message added sql/share/serbian/errmsg.txt: error message added sql/share/slovak/errmsg.txt: error message added sql/share/spanish/errmsg.txt: error message added sql/share/swedish/errmsg.txt: error message added sql/share/ukrainian/errmsg.txt: error message added sql/sql_acl.cc: Checks added to detect entries with symbolic hostnames in grant tables sql/sql_acl.h: interface added sql/sql_parse.cc: Check added to the GRANT command to warn about symbolic hostname & --skip-name-resolve
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index 7e96f2eaff1..8b8115b10db 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -131,6 +131,7 @@ public:
/* prototypes */
+bool hostname_requires_resolving(const char *hostname);
my_bool acl_init(THD *thd, bool dont_read_acl_tables);
void acl_reload(THD *thd);
void acl_free(bool end=0);