diff options
author | Benety Goh <benety@mongodb.com> | 2021-06-04 14:50:07 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-04 19:28:58 +0000 |
commit | dbf29a77529a35d4f571e5adc1687a96de153338 (patch) | |
tree | 1fec40a7ca455493b1bc88dc22e6e4f5569afe90 /src/mongo/db/index/index_access_method.h | |
parent | 914174babe1dc163615c0f031db8744aff7d2c8d (diff) | |
download | mongo-dbf29a77529a35d4f571e5adc1687a96de153338.tar.gz |
SERVER-57127 AbstractIndexAccessMethod::doGetKeys() accepts OperationContext and CollectionPtr
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r-- | src/mongo/db/index/index_access_method.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h index 4005b07ee4b..d7317af6c0d 100644 --- a/src/mongo/db/index/index_access_method.h +++ b/src/mongo/db/index/index_access_method.h @@ -582,7 +582,9 @@ protected: * keys are not associated with the document itself, but instead represent multi-key path * information that must be stored in a reserved keyspace within the index. */ - virtual void doGetKeys(SharedBufferFragmentBuilder& pooledBufferBuilder, + virtual void doGetKeys(OperationContext* opCtx, + const CollectionPtr& collection, + SharedBufferFragmentBuilder& pooledBufferBuilder, const BSONObj& obj, GetKeysContext context, KeyStringSet* keys, |