summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/catalog/index_catalog_impl.cpp3
-rw-r--r--src/mongo/db/catalog/index_catalog_impl.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.cpp b/src/mongo/db/catalog/index_catalog_impl.cpp
index c7e824543ac..e06cd9ea290 100644
--- a/src/mongo/db/catalog/index_catalog_impl.cpp
+++ b/src/mongo/db/catalog/index_catalog_impl.cpp
@@ -1300,6 +1300,7 @@ Status IndexCatalogImpl::_indexKeys(OperationContext* opCtx,
const std::vector<BSONObj>& keys,
const BSONObjSet& multikeyMetadataKeys,
const MultikeyPaths& multikeyPaths,
+ const BSONObj& obj,
RecordId loc,
const InsertDeleteOptions& options,
int64_t* keysInsertedOut) {
@@ -1362,6 +1363,7 @@ Status IndexCatalogImpl::_indexFilteredRecords(OperationContext* opCtx,
{keys.begin(), keys.end()},
multikeyMetadataKeys,
multikeyPaths,
+ *bsonRecord.docPtr,
bsonRecord.id,
options,
keysInsertedOut);
@@ -1419,6 +1421,7 @@ Status IndexCatalogImpl::_updateRecord(OperationContext* const opCtx,
updateTicket.added,
updateTicket.newMultikeyMetadataKeys,
updateTicket.newMultikeyPaths,
+ newDoc,
recordId,
options,
&keysInserted);
diff --git a/src/mongo/db/catalog/index_catalog_impl.h b/src/mongo/db/catalog/index_catalog_impl.h
index caa3991362f..1439832ab96 100644
--- a/src/mongo/db/catalog/index_catalog_impl.h
+++ b/src/mongo/db/catalog/index_catalog_impl.h
@@ -391,6 +391,7 @@ private:
const std::vector<BSONObj>& keys,
const BSONObjSet& multikeyMetadataKeys,
const MultikeyPaths& multikeyPaths,
+ const BSONObj& obj,
RecordId loc,
const InsertDeleteOptions& options,
int64_t* keysInsertedOut);