diff options
author | Dwight <dwight@10gen.com> | 2011-06-27 17:45:31 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-06-27 17:45:31 -0400 |
commit | 01e780019a472045bd2dc09ea0ae759d35359c4d (patch) | |
tree | 07e4d84b9abdfa185a70f9dd5fb5aa3d3e3f5d72 /db/clientcursor.cpp | |
parent | b0ed0dcee4d96729e87e8d48e5f9c8738a8c122f (diff) | |
download | mongo-01e780019a472045bd2dc09ea0ae759d35359c4d.tar.gz |
one more v1 index fix
Diffstat (limited to 'db/clientcursor.cpp')
-rw-r--r-- | db/clientcursor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/clientcursor.cpp b/db/clientcursor.cpp index 81c82fca4d1..8a415c12a8c 100644 --- a/db/clientcursor.cpp +++ b/db/clientcursor.cpp @@ -346,7 +346,8 @@ namespace mongo { int x = i->second; - BSONObjIterator it( currKey() ); + BSONObj ck = currKey(); + BSONObjIterator it( ck ); while ( x && it.more() ) { it.next(); x--; |