From 93858967b750b20e9a9c0627c5787d48aaa1ca76 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Thu, 28 May 2015 17:56:51 +0300 Subject: [PATCH] Removed useless ANYDB checks. Conflicts: server/modules/protocol/mysql_common.c --- server/modules/protocol/mysql_common.c | 7 ------- 1 file changed, 7 deletions(-) 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.