diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-09-02 17:38:06 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-09-02 17:38:06 +0200 |
commit | 90ef97fd85dd2a4d1763e06ea6eff9fa6d0ec631 (patch) | |
tree | 5585f53174e27e24a1203d4f0f41687e205765e0 /db/restapi.cpp | |
parent | 0a9f6162d232e4fb4b70ca07c4a65c0a12173cfc (diff) | |
download | mongodb-90ef97fd85dd2a4d1763e06ea6eff9fa6d0ec631.tar.gz |
Imported Upstream version 1.6.2
Diffstat (limited to 'db/restapi.cpp')
-rw-r--r-- | db/restapi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/restapi.cpp b/db/restapi.cpp index 3fd39c2..e9a7ae2 100644 --- a/db/restapi.cpp +++ b/db/restapi.cpp @@ -266,8 +266,8 @@ namespace mongo { ss << "# databases: " << dbHolder.size() << '\n'; - if( ClientCursor::byLocSize()>500 ) - ss << "Cursors byLoc.size(): " << ClientCursor::byLocSize() << '\n'; + if( ClientCursor::numCursors()>500 ) + ss << "# Cursors: " << ClientCursor::numCursors() << '\n'; ss << "\nreplication: "; if( *replInfo ) |