0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Dwight 2009-11-03 09:09:37 -05:00
parent 39645a2739
commit 7b8640f468
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{2B262D59
..\tools\dump.cpp = ..\tools\dump.cpp
..\tools\export.cpp = ..\tools\export.cpp
..\tools\files.cpp = ..\tools\files.cpp
..\tools\import.cpp = ..\tools\import.cpp
..\tools\sniffer.cpp = ..\tools\sniffer.cpp
..\tools\tool.cpp = ..\tools\tool.cpp
EndProjectSection

View File

@ -143,8 +143,12 @@ namespace mongo {
else {
c->advance(); // must advance before deleting as the next ptr will die
assert( !c->getsetdup(rloc) ); // can't be a dup, we deleted it!
if ( !justOne )
if ( !justOne ) {
/* NOTE: this is SLOW. this is not good, noteLocation() was designed to be called across getMore
blocks. here we might call millions of times which would be bad.
*/
c->noteLocation();
}
if ( logop ) {
BSONElement e;