mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx: skip extra cycle during search of page sequence.
This commit is contained in:
parent
6a1bf6035f
commit
71c3d20c01
@ -6608,9 +6608,9 @@ no_loose:
|
|||||||
while (true) {
|
while (true) {
|
||||||
if (re_list[range_begin - wanna_range] - pgno == wanna_range)
|
if (re_list[range_begin - wanna_range] - pgno == wanna_range)
|
||||||
goto done;
|
goto done;
|
||||||
if (range_begin == wanna_range)
|
if (--range_begin == wanna_range)
|
||||||
break;
|
break;
|
||||||
pgno = re_list[--range_begin];
|
pgno = re_list[range_begin];
|
||||||
}
|
}
|
||||||
#endif /* MDBX_PNL sort-order */
|
#endif /* MDBX_PNL sort-order */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user