We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c260c0 + aa36e3b commit 69569e1Copy full SHA for 69569e1
src/mongo/db/clientcursor.h
@@ -309,8 +309,10 @@ namespace mongo {
309
static ClientCursor* find_inlock(CursorId id, bool warn = true) {
310
CCById::iterator it = clientCursorsById.find(id);
311
if ( it == clientCursorsById.end() ) {
312
- if ( warn )
313
- OCCASIONALLY out() << "ClientCursor::find(): cursor not found in map " << id << " (ok after a drop)\n";
+ if ( warn ) {
+ OCCASIONALLY out() << "ClientCursor::find(): cursor not found in map '" << id
314
+ << "' (ok after a drop)" << endl;
315
+ }
316
return 0;
317
}
318
return it->second;
0 commit comments