summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/dbtests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/dbtests.h')
-rw-r--r--src/mongo/dbtests/dbtests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/dbtests.h b/src/mongo/dbtests/dbtests.h
index f0b0166aecb..b40c46b8fb1 100644
--- a/src/mongo/dbtests/dbtests.h
+++ b/src/mongo/dbtests/dbtests.h
@@ -65,8 +65,8 @@ Status createIndexFromSpec(OperationContext* opCtx, StringData ns, const BSONObj
/**
* Combines AutoGetOrCreateDb and OldClientContext. If the requested 'ns' exists, the constructed
* object will have both the database and the collection locked in MODE_IX. Otherwise, the database
- * will be locked in MODE_X and will be created (note, only the database will be created, but not
- * the collection).
+ * will be locked in MODE_IX and will be created, while the collection will be locked in MODE_X, but
+ * not created.
*/
class WriteContextForTests {
WriteContextForTests(const WriteContextForTests&) = delete;