Commit 611096a7 authored by hf@deer.(none)'s avatar hf@deer.(none)

SCRUM

WL#1284 (warnings about --skip-name-resolve)
Messages corrected
parent 37e8b932
...@@ -296,4 +296,4 @@ character-set=latin2 ...@@ -296,4 +296,4 @@ character-set=latin2
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -290,4 +290,4 @@ character-set=latin1 ...@@ -290,4 +290,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -298,4 +298,4 @@ character-set=latin1 ...@@ -298,4 +298,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=latin1 ...@@ -287,4 +287,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -292,4 +292,4 @@ character-set=latin7 ...@@ -292,4 +292,4 @@ character-set=latin7
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=latin1 ...@@ -287,4 +287,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -299,4 +299,4 @@ character-set=latin1 ...@@ -299,4 +299,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=greek ...@@ -287,4 +287,4 @@ character-set=greek
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=latin2 ...@@ -289,4 +289,4 @@ character-set=latin2
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=latin1 ...@@ -287,4 +287,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=ujis ...@@ -289,4 +289,4 @@ character-set=ujis
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=euckr ...@@ -287,4 +287,4 @@ character-set=euckr
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=latin1 ...@@ -289,4 +289,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=latin1 ...@@ -289,4 +289,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -291,4 +291,4 @@ character-set=latin2 ...@@ -291,4 +291,4 @@ character-set=latin2
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -288,4 +288,4 @@ character-set=latin1 ...@@ -288,4 +288,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -291,4 +291,4 @@ character-set=latin2 ...@@ -291,4 +291,4 @@ character-set=latin2
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=koi8r ...@@ -289,4 +289,4 @@ character-set=koi8r
" %lu, - %lu", " %lu, - %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -282,4 +282,4 @@ character-set=cp1250 ...@@ -282,4 +282,4 @@ character-set=cp1250
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -295,4 +295,4 @@ character-set=latin2 ...@@ -295,4 +295,4 @@ character-set=latin2
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -289,4 +289,4 @@ character-set=latin1 ...@@ -289,4 +289,4 @@ character-set=latin1
"Query cache failed to set size %lu, new query cache size is %lu", "Query cache failed to set size %lu, new query cache size is %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -287,4 +287,4 @@ character-set=latin1 ...@@ -287,4 +287,4 @@ character-set=latin1
"Storleken av "Query cache" kunde inte sättas till %lu, ny storlek är %lu", "Storleken av "Query cache" kunde inte sättas till %lu, ny storlek är %lu",
"Kolumn '%-.64s' kan inte vara del av ett FULLTEXT index", "Kolumn '%-.64s' kan inte vara del av ett FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -292,4 +292,4 @@ character-set=koi8u ...@@ -292,4 +292,4 @@ character-set=koi8u
" Ԧ ͦ %lu, ͦ Ԧ - %lu", " Ԧ ͦ %lu, ͦ Ԧ - %lu",
"Column '%-.64s' cannot be part of FULLTEXT index", "Column '%-.64s' cannot be part of FULLTEXT index",
"Unknown key cache '%-.100s'", "Unknown key cache '%-.100s'",
"Can't resolve '%s' if --skip-name-resolve active", "MySQL is started in --skip-name-resolve mode. You need to restart it without this switch for this grant to work",
...@@ -202,8 +202,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables) ...@@ -202,8 +202,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
host.sort= get_sort(2,host.host.hostname,host.db); host.sort= get_sort(2,host.host.hostname,host.db);
if (check_no_resolve && hostname_requires_resolving(host.host.hostname)) if (check_no_resolve && hostname_requires_resolving(host.host.hostname))
{ {
sql_print_error("Error in table 'host' entry '%s|%s'. " sql_print_error("Warning: 'host' entry '%s|%s' "
"Can't resolve '%s' if --skip-name-resolve active. Skipped", "ignored in --skip-name-resolve mode.",
host.host.hostname, host.db, host.host.hostname); host.host.hostname, host.db, host.host.hostname);
continue; continue;
} }
...@@ -270,8 +270,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables) ...@@ -270,8 +270,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
user.user= get_field(&mem, table->field[1]); user.user= get_field(&mem, table->field[1]);
if (check_no_resolve && hostname_requires_resolving(user.host.hostname)) if (check_no_resolve && hostname_requires_resolving(user.host.hostname))
{ {
sql_print_error("Error in table 'user' entry '%s@%s'. " sql_print_error("Warning: 'user' entry '%s@%s' "
"Can't resolve '%s' if --skip-name-resolve active. Skipped", "ignored in --skip-name-resolve mode.",
user.user, user.host.hostname, user.host.hostname); user.user, user.host.hostname, user.host.hostname);
continue; continue;
} }
...@@ -372,8 +372,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables) ...@@ -372,8 +372,8 @@ my_bool acl_init(THD *org_thd, bool dont_read_acl_tables)
db.user=get_field(&mem, table->field[2]); db.user=get_field(&mem, table->field[2]);
if (check_no_resolve && hostname_requires_resolving(db.host.hostname)) if (check_no_resolve && hostname_requires_resolving(db.host.hostname))
{ {
sql_print_error("Error in table 'db' entry '%s %s@%s'. " sql_print_error("Warning: 'db' entry '%s %s@%s' "
"Can't resolve '%s' if --skip-name-resolve active. Skipped", "ignored in --skip-name-resolve mode.",
db.db, db.user, db.host.hostname, db.host.hostname); db.db, db.user, db.host.hostname, db.host.hostname);
continue; continue;
} }
...@@ -2549,8 +2549,8 @@ my_bool grant_init(THD *org_thd) ...@@ -2549,8 +2549,8 @@ my_bool grant_init(THD *org_thd)
if (hostname_requires_resolving(mem_check->host)) if (hostname_requires_resolving(mem_check->host))
{ {
char buff[MAX_FIELD_WIDTH]; char buff[MAX_FIELD_WIDTH];
sql_print_error("Error in table 'tables_priv' entry '%s %s@%s'. " sql_print_error("Warning: 'tables_priv' entry '%s %s@%s' "
"Can't resolve '%s' if --skip-name-resolve active. Skipped", "ignored in --skip-name-resolve mode.",
mem_check->tname, mem_check->user, mem_check->tname, mem_check->user,
mem_check->host, mem_check->host); mem_check->host, mem_check->host);
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment