Update src/backend/distributed/utils/citus_depended_object.c

Co-authored-by: Nils Dijk <me@thanod.nl>
pull/7570/head
Xing Guo 2024-04-11 07:46:51 +08:00 committed by GitHub
parent a6a8e7a5d4
commit 2088e251b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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