8
0
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:
Dmitry Yemanov 2024-03-31 11:56:34 +03:00
parent 69d0a38aea
commit b0af516439

View File

@ -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,