mirror of https://github.com/citusdata/citus.git
Fixes build error
parent
059081ee60
commit
9f82b1609a
|
@ -103,15 +103,15 @@ static void
|
||||||
EnsureRequiredObjectExistOnAllNodes(const ObjectAddress *target,
|
EnsureRequiredObjectExistOnAllNodes(const ObjectAddress *target,
|
||||||
RequiredObjectSet requiredObjectSet)
|
RequiredObjectSet requiredObjectSet)
|
||||||
{
|
{
|
||||||
|
Assert(requiredObjectSet == REQUIRE_ONLY_DEPENDENCIES ||
|
||||||
|
requiredObjectSet == REQUIRE_OBJECT_AND_DEPENDENCIES);
|
||||||
|
|
||||||
if (IsAnyObjectDistributed(list_make1((ObjectAddress *) target)))
|
if (IsAnyObjectDistributed(list_make1((ObjectAddress *) target)))
|
||||||
{
|
{
|
||||||
/* do not propagate for non-distributed types */
|
/* do not propagate for non-distributed types */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Assert(requiredObjectSet == REQUIRE_ONLY_DEPENDENCIES ||
|
|
||||||
requiredObjectSet == REQUIRE_OBJECT_AND_DEPENDENCIES);
|
|
||||||
|
|
||||||
List *objectsWithCommands = NIL;
|
List *objectsWithCommands = NIL;
|
||||||
List *ddlCommands = NULL;
|
List *ddlCommands = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue