Permalink
Browse files

backport of SERVER-5357

  • Loading branch information...
1 parent 6fb6a11 commit d861e27e783406217a5d7f945a39169e5ae250a2 @erh erh committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/commands/mr.cpp
View
@@ -1207,7 +1207,7 @@ namespace mongo {
BSONObj res = config.reducer->finalReduce( values , config.finalizer.get());
if (state.isOnDisk())
- state.insertToInc(res);
+ state.insert( config.tempLong , res );
else
state.emit(res);
values.clear();

0 comments on commit d861e27

Please sign in to comment.