summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/s2_access_method.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-06-04 14:50:07 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-04 19:28:58 +0000
commitdbf29a77529a35d4f571e5adc1687a96de153338 (patch)
tree1fec40a7ca455493b1bc88dc22e6e4f5569afe90 /src/mongo/db/index/s2_access_method.h
parent914174babe1dc163615c0f031db8744aff7d2c8d (diff)
downloadmongo-dbf29a77529a35d4f571e5adc1687a96de153338.tar.gz
SERVER-57127 AbstractIndexAccessMethod::doGetKeys() accepts OperationContext and CollectionPtr
Diffstat (limited to 'src/mongo/db/index/s2_access_method.h')
-rw-r--r--src/mongo/db/index/s2_access_method.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/index/s2_access_method.h b/src/mongo/db/index/s2_access_method.h
index 9f21e9b9cf7..a849753ee28 100644
--- a/src/mongo/db/index/s2_access_method.h
+++ b/src/mongo/db/index/s2_access_method.h
@@ -64,7 +64,9 @@ private:
* and fills each element with the prefixes of the indexed field that would cause this index to
* be multikey as a result of inserting 'keys'.
*/
- void doGetKeys(SharedBufferFragmentBuilder& pooledBufferBuilder,
+ void doGetKeys(OperationContext* opCtx,
+ const CollectionPtr& collection,
+ SharedBufferFragmentBuilder& pooledBufferBuilder,
const BSONObj& obj,
GetKeysContext context,
KeyStringSet* keys,