mirror of https://gitee.com/bigwinds/arangodb
Fixed a bug with skip over primary index
This commit is contained in:
parent
81fa8018b0
commit
876853dd9f
|
@ -993,7 +993,7 @@ namespace triagens {
|
||||||
|
|
||||||
while (skip > 0) {
|
while (skip > 0) {
|
||||||
ptr = idx->lookupSequential(position, total);
|
ptr = idx->lookupSequential(position, total);
|
||||||
++skip;
|
--skip;
|
||||||
if (ptr == nullptr) {
|
if (ptr == nullptr) {
|
||||||
// To few elements, skipped all
|
// To few elements, skipped all
|
||||||
this->unlock(trxCollection, TRI_TRANSACTION_READ);
|
this->unlock(trxCollection, TRI_TRANSACTION_READ);
|
||||||
|
|
Loading…
Reference in New Issue