mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
This should fix #8058: DDL-Changes in replication does not set the correct grantor
This commit is contained in:
parent
f1bbc2d767
commit
65320a3bfe
@ -991,6 +991,7 @@ void Applier::executeSql(thread_db* tdbb,
|
||||
|
||||
UserId* const owner = attachment->getUserId(ownerName);
|
||||
AutoSetRestore<UserId*> autoOwner(&attachment->att_ss_user, owner);
|
||||
AutoSetRestore<UserId*> autoUser(&attachment->att_user, owner);
|
||||
AutoSetRestoreFlag<ULONG> noCascade(&tdbb->tdbb_flags, TDBB_repl_in_progress, !m_enableCascade);
|
||||
|
||||
DSQL_execute_immediate(tdbb, attachment, &transaction,
|
||||
|
Loading…
Reference in New Issue
Block a user