Skip to content

Commit c768bfe

Browse files
committed
This should fix #8058: DDL-Changes in replication does not set the correct grantor
1 parent af9dc36 commit c768bfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jrd/replication/Applier.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,7 @@ void Applier::executeSql(thread_db* tdbb,
975975

976976
UserId* const owner = attachment->getUserId(ownerName);
977977
AutoSetRestore<UserId*> autoOwner(&attachment->att_ss_user, owner);
978+
AutoSetRestore<UserId*> autoUser(&attachment->att_user, owner);
978979

979980
DSQL_execute_immediate(tdbb, attachment, &transaction,
980981
0, sql.c_str(), dialect,

0 commit comments

Comments
 (0)