mirror of https://gitee.com/bigwinds/arangodb
Fixed array index insertion.
This commit is contained in:
parent
fb5bcfcf82
commit
bf6a4fedd9
|
@ -308,7 +308,7 @@ void PathBasedIndex::buildIndexValues(
|
||||||
|
|
||||||
auto moveOn = [&](VPackSlice something) -> void {
|
auto moveOn = [&](VPackSlice something) -> void {
|
||||||
auto it = seen.find(something);
|
auto it = seen.find(something);
|
||||||
if (it != seen.end()) {
|
if (it == seen.end()) {
|
||||||
seen.insert(something);
|
seen.insert(something);
|
||||||
sliceStack.push_back(something);
|
sliceStack.push_back(something);
|
||||||
buildIndexValues(document, level + 1, toInsert, sliceStack);
|
buildIndexValues(document, level + 1, toInsert, sliceStack);
|
||||||
|
|
Loading…
Reference in New Issue