diff options
author | Tommaso Tocci <tommaso.tocci@mongodb.com> | 2020-04-12 14:39:17 +0200 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-15 08:18:47 +0000 |
commit | 6f1c334300c28a1e7491440759fe83a289b9e1bc (patch) | |
tree | a54a86beda86596a5212371a974b3542b5762589 /src/mongo/db/exec | |
parent | 2736a860cc1f6f89beda3d07659496044bcac471 (diff) | |
download | mongo-6f1c334300c28a1e7491440759fe83a289b9e1bc.tar.gz |
SERVER-47523 Upsert stage: Convert usage of getCollectionDescription_DEPRECATED to getCollectionDescription
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/upsert_stage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/upsert_stage.cpp b/src/mongo/db/exec/upsert_stage.cpp index a0e983d92b4..3f735981b18 100644 --- a/src/mongo/db/exec/upsert_stage.cpp +++ b/src/mongo/db/exec/upsert_stage.cpp @@ -195,7 +195,7 @@ BSONObj UpsertStage::_produceNewDocumentForInsert(bool isInternalRequest) { // The collection description must remain in scope since it owns the pointers used by // 'shardKeyPaths' and 'immutablePaths'. auto* css = CollectionShardingState::get(opCtx(), _params.request->getNamespaceString()); - auto collDesc = css->getCollectionDescription_DEPRECATED(); + auto collDesc = css->getCollectionDescription(); // Compute the set of shard key paths and the set of immutable paths. Either may be empty. FieldRefSet shardKeyPaths, immutablePaths; |