diff options
Diffstat (limited to 'src/mongo/db/ops/insert.cpp')
-rw-r--r-- | src/mongo/db/ops/insert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/insert.cpp b/src/mongo/db/ops/insert.cpp index e0accaac460..85edc50cfb4 100644 --- a/src/mongo/db/ops/insert.cpp +++ b/src/mongo/db/ops/insert.cpp @@ -112,7 +112,7 @@ StatusWith<BSONObj> fixDocumentForInsert(OperationContext* opCtx, if (fieldName[0] == '$') { if (!serverGlobalParams.featureCompatibility.isVersionInitialized() || !serverGlobalParams.featureCompatibility.isGreaterThanOrEqualTo( - FeatureCompatibilityParams::Version::kFullyDowngradedTo50)) { + multiversion::FeatureCompatibilityVersion::kFullyDowngradedTo_5_0)) { return StatusWith<BSONObj>(ErrorCodes::BadValue, str::stream() << "Document can't have $ prefixed field names: " |