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:
parent
16510bb18f
commit
0d35f3c9aa
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user