Fix compilation errors.

pull/7570/head
Xing Guo 2024-04-07 10:16:43 +08:00
parent 6a8f26cae6
commit a6a8e7a5d4
1 changed files with 3 additions and 1 deletions

View File

@ -480,8 +480,10 @@ AnyObjectViolatesOwnership(DropStmt *dropStmt)
Node *object = NULL;
foreach_ptr(object, dropStmt->objects)
{
Relation rel;
objectAddress = get_object_address(objectType, object,
&relation, AccessShareLock, missingOk);
&rel, AccessShareLock, missingOk);
relation = rel;
if (OidIsValid(objectAddress.objectId))
{