diff --git a/server/core/dbusers.c b/server/core/dbusers.c index 41dda5a92..1ef765bc2 100644 --- a/server/core/dbusers.c +++ b/server/core/dbusers.c @@ -229,17 +229,6 @@ getUsers(SERVICE *service, struct users *users) NULL, 0) == NULL)) { - if (server == NULL) - { - LOGIF(LE, (skygw_log_write_flush( - LOGFILE_ERROR, - "Error : Unable to connect to %s:%d, \"%s\"", - server->name, - server->port, - mysql_error(con)))); - mysql_close(con); - return -1; - } server = server->nextdb; } free(dpwd);