mirror of https://github.com/citusdata/citus.git
Remove tracking
parent
b52e72dd48
commit
2325a6c68a
|
@ -345,6 +345,10 @@ StartNodeUserDatabaseConnection(uint32 flags, const char *hostname, int32 port,
|
||||||
*/
|
*/
|
||||||
if (!TryToIncrementSharedConnectionCounter(hostname, port))
|
if (!TryToIncrementSharedConnectionCounter(hostname, port))
|
||||||
{
|
{
|
||||||
|
/* do not track the connection anymore */
|
||||||
|
dlist_delete(&connection->connectionNode);
|
||||||
|
pfree(connection);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue