mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:14: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) {
|
||||
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 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user