mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 10:00:38 +01:00
Fixed change of transaction type
This commit is contained in:
parent
fda52dd662
commit
f61bdeb118
@ -786,7 +786,9 @@ public:
|
||||
static bool scanCallback(thread_db* tdbb, OBJ* obj, bool rld, ObjectBase::Flag fl)
|
||||
{
|
||||
fb_assert(obj);
|
||||
Firebird::AutoSetRestoreFlag readCommitted(TransactionNumber::getFlags(tdbb), TRA_read_committed, true);
|
||||
auto* flags = TransactionNumber::getFlags(tdbb);
|
||||
Firebird::AutoSetRestoreFlag readCommitted(flags,
|
||||
(*flags) & TRA_degree3 ? 0 : TRA_read_committed | TRA_rec_version, true);
|
||||
return rld ? obj->reload(tdbb, fl) : obj->scan(tdbb, fl);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user