Fixes build error

pull/7389/head
gurkanindibay 2023-12-17 09:19:24 +03:00
parent 059081ee60
commit 9f82b1609a
1 changed files with 3 additions and 3 deletions

View File

@ -103,15 +103,15 @@ static void
EnsureRequiredObjectExistOnAllNodes(const ObjectAddress *target,
RequiredObjectSet requiredObjectSet)
{
Assert(requiredObjectSet == REQUIRE_ONLY_DEPENDENCIES ||
requiredObjectSet == REQUIRE_OBJECT_AND_DEPENDENCIES);
if (IsAnyObjectDistributed(list_make1((ObjectAddress *) target)))
{
/* do not propagate for non-distributed types */
return;
}
Assert(requiredObjectSet == REQUIRE_ONLY_DEPENDENCIES ||
requiredObjectSet == REQUIRE_OBJECT_AND_DEPENDENCIES);
List *objectsWithCommands = NIL;
List *ddlCommands = NULL;