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

Correction for #8069.

Note, sequence numbers could be out of physical order of records.
This commit is contained in:
Vlad Khorsun 2024-05-27 14:06:40 +03:00
parent ecc49e053f
commit 8956bfb9d2

View File

@ -2120,12 +2120,14 @@ void DPM_scan_pages( thread_db* tdbb)
break;
case pag_transactions:
tipSeqList.resize(sequence + 1);
if (sequence >= tipSeqList.getCount())
tipSeqList.resize(sequence + 1);
tipSeqList[sequence] = X.RDB$PAGE_NUMBER;
break;
case pag_ids:
genSeqList.resize(sequence + 1);
if (sequence >= genSeqList.getCount())
genSeqList.resize(sequence + 1);
genSeqList[sequence] = X.RDB$PAGE_NUMBER;
break;