8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 01:23:03 +01:00

Fixed bug CORE-4002 : Error message "index unexpectedly deleted" in database trigger on commit transaction

This commit is contained in:
hvlad 2012-11-30 08:12:43 +00:00
parent d5decaf997
commit 3e0920857c

View File

@ -2152,7 +2152,7 @@ RecordNumber DPM_store_blob(thread_db* tdbb, blb* blob, Record* record)
//rpb.getWindow(tdbb).win_flags = 0; redundant.
rpb.rpb_relation = blob->blb_relation;
rpb.rpb_transaction_nr = blob->blb_transaction->tra_number;
rpb.rpb_transaction_nr = tdbb->getTransaction()->tra_number;
blh* header = (blh*) locate_space(tdbb, &rpb, (SSHORT)(BLH_SIZE + length),
stack, record, DPM_other);