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

Fixed bug #8040 : Bugcheck 183 (wrong record length) could happen on replica database after UK violation on insert

This commit is contained in:
Vlad Khorsun 2024-03-12 21:07:27 +02:00
parent 16510bb18f
commit 0d35f3c9aa

View File

@ -665,6 +665,12 @@ void Applier::insertRecord(thread_db* tdbb, TraNumber traNum,
}
else
{
fb_assert(rpb.rpb_record == record);
rpb.rpb_format_number = format->fmt_version;
rpb.rpb_address = record->getData();
rpb.rpb_length = record->getLength();
doInsert(tdbb, &rpb, transaction); // second (paranoid) attempt
}
}