summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_mock.h
diff options
context:
space:
mode:
authorYuhong Zhang <yuhong.zhang@mongodb.com>2022-02-09 03:22:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-11 20:03:25 +0000
commit76c21bda5674f7c38f2bf52be9abda6ff1cd77e3 (patch)
treec0a67e6e8ba300fd6306eca1edecf8af0e2bed65 /src/mongo/db/catalog/collection_mock.h
parent7f30babba00b8bea2df2f1d62d3b29f3bf1f14fa (diff)
downloadmongo-76c21bda5674f7c38f2bf52be9abda6ff1cd77e3.tar.gz
SERVER-63443 Make `disallowNewDuplicateKeys` persisted in catalog
Diffstat (limited to 'src/mongo/db/catalog/collection_mock.h')
-rw-r--r--src/mongo/db/catalog/collection_mock.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_mock.h b/src/mongo/db/catalog/collection_mock.h
index f111892b265..00711f95cfc 100644
--- a/src/mongo/db/catalog/collection_mock.h
+++ b/src/mongo/db/catalog/collection_mock.h
@@ -413,6 +413,12 @@ public:
std::abort();
}
+ void updateDisallowNewDuplicateKeysSetting(OperationContext* opCtx,
+ StringData idxName,
+ bool disallowNewDuplicateKeys) {
+ std::abort();
+ }
+
std::vector<std::string> removeInvalidIndexOptions(OperationContext* opCtx) {
std::abort();
}