mirror of https://github.com/citusdata/citus.git
Fixup
parent
a6bd6c657e
commit
be77d3304f
|
@ -593,11 +593,12 @@ FindPlacementListConnection(int flags, List *placementAccessList, const char *us
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (accessType == PLACEMENT_ACCESS_SELECT &&
|
else if (accessType == PLACEMENT_ACCESS_SELECT &&
|
||||||
placementEntry->hasSecondaryConnections)
|
placementEntry->hasSecondaryConnections &&
|
||||||
|
!placementConnection->hadDDL && !placementConnection->hadDML)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Two separate connections have already selected from this placements.
|
* Two separate connections have already selected from this placement
|
||||||
* There is no benefit to using this connection.
|
* and it was not modified. There is no benefit to using this connection.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
else if (CanUseExistingConnection(flags, userName, placementConnection))
|
else if (CanUseExistingConnection(flags, userName, placementConnection))
|
||||||
|
|
Loading…
Reference in New Issue