diff options
Diffstat (limited to 'db/commands/mr.cpp')
-rw-r--r-- | db/commands/mr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/commands/mr.cpp b/db/commands/mr.cpp index b9f5b59821c..17ff84a9431 100644 --- a/db/commands/mr.cpp +++ b/db/commands/mr.cpp @@ -508,7 +508,7 @@ namespace mongo { _scope->injectNative( "emit" , fast_emit ); - if ( _onDisk ) { + if ( _onDisk && _config.incLong != _config.tempLong ) { // clear temp collections _db.dropCollection( _config.tempLong ); _db.dropCollection( _config.incLong ); |