mirror of https://github.com/citusdata/citus.git
Fixes indentation
parent
2e4947428d
commit
42c840f50b
|
@ -884,13 +884,12 @@ GenerateGrantRoleStmtsOfRole(Oid roleid)
|
||||||
|
|
||||||
while (HeapTupleIsValid(tuple = systable_getnext(scan)))
|
while (HeapTupleIsValid(tuple = systable_getnext(scan)))
|
||||||
{
|
{
|
||||||
|
|
||||||
Form_pg_auth_members membership = (Form_pg_auth_members) GETSTRUCT(tuple);
|
Form_pg_auth_members membership = (Form_pg_auth_members) GETSTRUCT(tuple);
|
||||||
|
|
||||||
ObjectAddress *roleAddress = palloc0(sizeof(ObjectAddress));
|
ObjectAddress *roleAddress = palloc0(sizeof(ObjectAddress));
|
||||||
ObjectAddressSet(*roleAddress, AuthIdRelationId, membership->grantor);
|
ObjectAddressSet(*roleAddress, AuthIdRelationId, membership->grantor);
|
||||||
if (!IsAnyObjectDistributed(list_make1(roleAddress))){
|
if (!IsAnyObjectDistributed(list_make1(roleAddress)))
|
||||||
|
{
|
||||||
/* we only need to propagate the grant if the grantor is distributed */
|
/* we only need to propagate the grant if the grantor is distributed */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue