summaryrefslogtreecommitdiff
path: root/src/mongo/db/update
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2017-10-26 10:34:39 -0400
committerJudah Schvimer <judah@mongodb.com>2017-10-26 10:34:39 -0400
commit0d8371f7e13b3455506f62d8e9129e4e66ed9a15 (patch)
tree135564174ed97cb774d645486d7c2db472939c02 /src/mongo/db/update
parent253d4c559450238d786e03d3c3118f02e6b9358f (diff)
downloadmongo-0d8371f7e13b3455506f62d8e9129e4e66ed9a15.tar.gz
SERVER-31608 remove FCV getters
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r--src/mongo/db/update/update_driver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/update/update_driver.cpp b/src/mongo/db/update/update_driver.cpp
index fb076acf98d..a09dc6635ec 100644
--- a/src/mongo/db/update/update_driver.cpp
+++ b/src/mongo/db/update/update_driver.cpp
@@ -198,7 +198,8 @@ Status UpdateDriver::parse(
} else if (_modOptions.fromOplogApplication) {
updateSemantics = UpdateSemantics::kModifierInterface;
} else {
- updateSemantics = (!serverGlobalParams.featureCompatibility.isFullyUpgradedTo36())
+ updateSemantics = (serverGlobalParams.featureCompatibility.getVersion() !=
+ ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo36)
? UpdateSemantics::kModifierInterface
: UpdateSemantics::kUpdateNode;
}