summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-02-12 16:39:52 -0500
committerdwight <dwight@10gen.com>2011-02-15 15:04:10 -0500
commitf7692fea1a67431061e1230acb15c7537c6e2900 (patch)
treee98227ebc62eafee27eb4820a36f8b8d42b5caa6
parent277ff8dbf010839f0345dd395e255dda1961e86e (diff)
downloadmongo-f7692fea1a67431061e1230acb15c7537c6e2900.tar.gz
comment
-rw-r--r--db/instance.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/instance.h b/db/instance.h
index b9b1fe5921b..2516aec8882 100644
--- a/db/instance.h
+++ b/db/instance.h
@@ -112,7 +112,9 @@ namespace mongo {
*/
bool replHasDatabases();
- /** "embedded" calls to the local server directly. */
+ /** "embedded" calls to the local server directly.
+ Caller does not need to lock, that is handled within.
+ */
class DBDirectClient : public DBClientBase {
public:
virtual auto_ptr<DBClientCursor> query(const string &ns, Query query, int nToReturn = 0, int nToSkip = 0,