diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-06-12 11:29:41 -0400 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2018-06-12 13:58:14 -0400 |
commit | a6cc895fa631e29e8c7ee6ec61a6b7a21a370bf3 (patch) | |
tree | 25a6d1506c113ad3e13bb36f4f60ae7e2f465afc /src/mongo/db/catalog/database.h | |
parent | 85d4c70b894b3f2ebc19115a573bf01b27ac89e1 (diff) | |
download | mongo-a6cc895fa631e29e8c7ee6ec61a6b7a21a370bf3.tar.gz |
SERVER-35351: Have implicit creation of `system.views` in a separate WUOW.
Diffstat (limited to 'src/mongo/db/catalog/database.h')
-rw-r--r-- | src/mongo/db/catalog/database.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/src/mongo/db/catalog/database.h b/src/mongo/db/catalog/database.h index 2a5e281c1b5..73038f59a44 100644 --- a/src/mongo/db/catalog/database.h +++ b/src/mongo/db/catalog/database.h @@ -131,22 +131,17 @@ public: /** * Creates the namespace 'ns' in the database 'db' according to 'options'. If - * 'createDefaultIndexes' - * is true, creates the _id index for the collection (and the system indexes, in the case of - * system - * collections). Creates the collection's _id index according to 'idIndex', if it is non-empty. - * When - * 'idIndex' is empty, creates the default _id index. + * 'createDefaultIndexes' is true, creates the _id index for the collection (and the system + * indexes, in the case of system collections). Creates the collection's _id index according + * to 'idIndex', if it is non-empty. When 'idIndex' is empty, creates the default _id index. */ - static MONGO_DECLARE_SHIM( - (OperationContext * opCtx, - Database* db, - StringData ns, - BSONObj options, - CollectionOptions::ParseKind parseKind = CollectionOptions::parseForCommand, - bool createDefaultIndexes = true, - const BSONObj& idIndex = BSONObj()) - ->Status) userCreateNS; + static MONGO_DECLARE_SHIM((OperationContext * opCtx, + Database* db, + StringData ns, + CollectionOptions collectionOptions, + bool createDefaultIndexes = true, + const BSONObj& idIndex = BSONObj()) + ->Status) userCreateNS; static MONGO_DECLARE_SHIM((Database * this_, OperationContext* opCtx, |