Fixes indentation

pull/7451/head
gurkanindibay 2024-02-10 09:46:29 +03:00
parent 2e4947428d
commit 42c840f50b
1 changed files with 2 additions and 3 deletions

View File

@ -884,13 +884,12 @@ GenerateGrantRoleStmtsOfRole(Oid roleid)
while (HeapTupleIsValid(tuple = systable_getnext(scan)))
{
Form_pg_auth_members membership = (Form_pg_auth_members) GETSTRUCT(tuple);
ObjectAddress *roleAddress = palloc0(sizeof(ObjectAddress));
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 */
continue;
}