summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/external_key_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/external_key_generator.cpp')
-rw-r--r--src/mongo/db/index/external_key_generator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/external_key_generator.cpp b/src/mongo/db/index/external_key_generator.cpp
index ed62b1afe74..08d67550d14 100644
--- a/src/mongo/db/index/external_key_generator.cpp
+++ b/src/mongo/db/index/external_key_generator.cpp
@@ -82,7 +82,7 @@ void getKeysForUpgradeChecking(const BSONObj& infoObj, const BSONObj& doc, BSONO
// generated will be wrong.
CollatorInterface* collator = nullptr;
ExpressionKeysPrivate::getHashKeys(
- doc, field, seed, version, infoObj["sparse"].trueValue(), collator, keys);
+ doc, field, seed, version, infoObj["sparse"].trueValue(), collator, keys, false);
} else {
invariant(IndexNames::BTREE == type);