diff --git a/server/modules/protocol/mysql_common.c b/server/modules/protocol/mysql_common.c index 83e2912e5..9b138360a 100644 --- a/server/modules/protocol/mysql_common.c +++ b/server/modules/protocol/mysql_common.c @@ -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.