mdbx: skip extra cycle during search of page sequence.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-07-31 23:58:22 +03:00
parent 6a1bf6035f
commit 71c3d20c01

View File

@ -6608,9 +6608,9 @@ no_loose:
while (true) {
if (re_list[range_begin - wanna_range] - pgno == wanna_range)
goto done;
if (range_begin == wanna_range)
if (--range_begin == wanna_range)
break;
pgno = re_list[--range_begin];
pgno = re_list[range_begin];
}
#endif /* MDBX_PNL sort-order */
}