summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_internal.cpp')
-rw-r--r--src/mongo/db/matcher/expression_internal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_internal.cpp b/src/mongo/db/matcher/expression_internal.cpp
index 254ea11bcec..ba8c75a3596 100644
--- a/src/mongo/db/matcher/expression_internal.cpp
+++ b/src/mongo/db/matcher/expression_internal.cpp
@@ -57,9 +57,9 @@ namespace mongo {
case Array:
if ( partNum+1 < path.numParts() && isAllDigits( path.getPart( partNum+1 ) ) ) {
- *inArray = true;
+ //*inArray = true;
curr = res.Obj();
- ++partNum;
+ stop = true;
}
else {
stop = true;