mirror of https://github.com/citusdata/citus.git
Improve comment about plan being NULL
per suggestion from Jelte Fennema-Nio.pull/7288/head
parent
f9e46ba010
commit
60d1759d70
|
@ -525,7 +525,12 @@ ShardPlacementForFunctionColocatedWithDistTable(DistObjectCacheEntry *procedure,
|
|||
|
||||
if (partitionParam->paramkind == PARAM_EXTERN)
|
||||
{
|
||||
/* Don't log a message, we should end up here again without a parameter */
|
||||
/*
|
||||
* Don't log a message, we should end up here again without a
|
||||
* parameter.
|
||||
* Note that "plan" can be null, for example when a CALL statement
|
||||
* is prepared.
|
||||
*/
|
||||
if (plan)
|
||||
{
|
||||
DissuadePlannerFromUsingPlan(plan);
|
||||
|
|
Loading…
Reference in New Issue