mirror of https://github.com/citusdata/citus.git
Fix compilation errors.
parent
6a8f26cae6
commit
a6a8e7a5d4
|
@ -480,8 +480,10 @@ AnyObjectViolatesOwnership(DropStmt *dropStmt)
|
||||||
Node *object = NULL;
|
Node *object = NULL;
|
||||||
foreach_ptr(object, dropStmt->objects)
|
foreach_ptr(object, dropStmt->objects)
|
||||||
{
|
{
|
||||||
|
Relation rel;
|
||||||
objectAddress = get_object_address(objectType, object,
|
objectAddress = get_object_address(objectType, object,
|
||||||
&relation, AccessShareLock, missingOk);
|
&rel, AccessShareLock, missingOk);
|
||||||
|
relation = rel;
|
||||||
|
|
||||||
if (OidIsValid(objectAddress.objectId))
|
if (OidIsValid(objectAddress.objectId))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue