Added proper wildcard database grant detection.

This commit is contained in:
Markus Makela
2015-06-27 09:08:20 +03:00
parent c9606e1071
commit 4759df9f87
2 changed files with 35 additions and 7 deletions

View File

@ -1552,13 +1552,6 @@ int gw_find_mysql_user_password_sha1(char *username, uint8_t *gateway_password,
break;
}
/** See if ANYDB == Y */
if(key.resource)
{
key.resource = NULL;
continue;
}
if (!user_password) {
/*
* user@% not found.