mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
comment
This commit is contained in:
parent
39645a2739
commit
7b8640f468
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user