| 12556 | |
| 12557 | |
| 12558 | void Sql_cmd_grant::warn_hostname_requires_resolving(THD *thd, |
| 12559 | List<LEX_USER> &users) |
| 12560 | { |
| 12561 | LEX_USER *user; |
| 12562 | List_iterator <LEX_USER> it(users); |
| 12563 | while ((user= it++)) |
| 12564 | { |
| 12565 | if (opt_skip_name_resolve && hostname_requires_resolving(user->host.str)) |
| 12566 | push_warning(thd, Sql_condition::WARN_LEVEL_WARN, |
| 12567 | ER_WARN_HOSTNAME_WONT_WORK, |
| 12568 | ER_THD(thd, ER_WARN_HOSTNAME_WONT_WORK)); |
| 12569 | } |
| 12570 | } |
| 12571 | |
| 12572 | |
| 12573 | void Sql_cmd_grant::grant_stage0(THD *thd) |
nothing calls this directly
no test coverage detected