mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Restored the fragmentation logic I removed one year ago.
I cannot reproduce the old bug anymore and this code allows smaller version stubs.
This commit is contained in:
parent
2b6b3325f2
commit
ccc9cfefe6
@ -360,7 +360,7 @@ bool DPM_chain( thread_db* tdbb, record_param* org_rpb, record_param* new_rpb)
|
||||
too small, compute the number of pad bytes required */
|
||||
|
||||
SLONG fill = (RHDF_SIZE - RHD_SIZE) - size;
|
||||
if (fill < 0) {
|
||||
if (fill < 0 || (new_rpb->rpb_flags & rpb_deleted)) {
|
||||
fill = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user