summaryrefslogtreecommitdiff
path: root/db/query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/query.cpp')
-rw-r--r--db/query.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/query.cpp b/db/query.cpp
index 30152985a6c..818bb5b7eb3 100644
--- a/db/query.cpp
+++ b/db/query.cpp
@@ -1289,6 +1289,7 @@ namespace mongo {
if ( dqo.scanAndOrderRequired() )
ss << " scanAndOrder ";
auto_ptr< Cursor > c = dqo.cursor();
+ log( 5 ) << " used cursor: " << c->toString() << endl;
if ( dqo.saveClientCursor() ) {
ClientCursor *cc = new ClientCursor();
cc->c = c;