diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-01-26 20:59:12 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-01-26 21:00:00 -0500 |
commit | 922532f0a5b2d181d3a84c3c774c590a6b16dc33 (patch) | |
tree | 4b16e9c1445062fd860ada94855d2145e1e9c126 /db/mr.cpp | |
parent | 2fc5cd666f9906911fc66f7c18ac9c397989bc5b (diff) | |
download | mongo-922532f0a5b2d181d3a84c3c774c590a6b16dc33.tar.gz |
Fix bug in sharded MapReduce. SHARDING-68
Diffstat (limited to 'db/mr.cpp')
-rw-r--r-- | db/mr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/mr.cpp b/db/mr.cpp index ff88d9e75f2..ce9b6e6d5c0 100644 --- a/db/mr.cpp +++ b/db/mr.cpp @@ -547,7 +547,7 @@ namespace mongo { DBDirectClient db; while ( cursor.more() ){ - BSONObj t = cursor.next(); + BSONObj t = cursor.next().getOwned(); if ( values.size() == 0 ){ values.push_back( t ); |