diff options
author | Andrew Morrow <acm@10gen.com> | 2013-08-25 10:55:22 -0400 |
---|---|---|
committer | Andrew Morrow <acm@10gen.com> | 2013-09-25 14:21:49 -0400 |
commit | 4616eae3efe8301ac12574bfc7c6d54338b58bd7 (patch) | |
tree | c89a9f2716fdee0a3c11a28ab601ef94fb2d65fa /src/mongo/db/matcher/path.cpp | |
parent | 6faea24a8e6889c7a46c8e1c305cfa9cd430b0e7 (diff) | |
download | mongo-4616eae3efe8301ac12574bfc7c6d54338b58bd7.tar.gz |
SERVER-10159 Re-serialize and cache dotted form in FieldRef on request
Diffstat (limited to 'src/mongo/db/matcher/path.cpp')
-rw-r--r-- | src/mongo/db/matcher/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/path.cpp b/src/mongo/db/matcher/path.cpp index 8c94514ca63..cd4f1ee9c0a 100644 --- a/src/mongo/db/matcher/path.cpp +++ b/src/mongo/db/matcher/path.cpp @@ -110,7 +110,7 @@ namespace mongo { void BSONElementIterator::ArrayIterationState::reset( const FieldRef& ref, int start ) { - restOfPath = ref.dottedField( start ); + restOfPath = ref.dottedField( start ).toString(); hasMore = restOfPath.size() > 0; if ( hasMore ) { nextPieceOfPath = ref.getPart( start ); |