mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +01:00
Correction for #8069.
Note, sequence numbers could be out of physical order of records.
This commit is contained in:
parent
ecc49e053f
commit
8956bfb9d2
@ -2120,12 +2120,14 @@ void DPM_scan_pages( thread_db* tdbb)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case pag_transactions:
|
case pag_transactions:
|
||||||
tipSeqList.resize(sequence + 1);
|
if (sequence >= tipSeqList.getCount())
|
||||||
|
tipSeqList.resize(sequence + 1);
|
||||||
tipSeqList[sequence] = X.RDB$PAGE_NUMBER;
|
tipSeqList[sequence] = X.RDB$PAGE_NUMBER;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case pag_ids:
|
case pag_ids:
|
||||||
genSeqList.resize(sequence + 1);
|
if (sequence >= genSeqList.getCount())
|
||||||
|
genSeqList.resize(sequence + 1);
|
||||||
genSeqList[sequence] = X.RDB$PAGE_NUMBER;
|
genSeqList[sequence] = X.RDB$PAGE_NUMBER;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user