ModulePgSQL* mod;
public:
SQLresolver(ModulePgSQL* m, Server* srv, const SQLhost& hi)
- : Resolver(hi.host, DNS_QUERY_FORWARD), host(hi), mod(m)
+ : Resolver(ServerInstance, hi.host, DNS_QUERY_FORWARD), host(hi), mod(m)
{
}
SQLConn* newconn;
/* The conversion succeeded, we were given an IP and we can give it straight to SQLConn */
- newconn = new SQLConn(this, Srv, hi);
+ newconn = new SQLConn(ServerInstance, this, Srv, hi);
connections.insert(std::make_pair(hi.id, newconn));
}