summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/ops/update.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/ops/update.cpp b/src/mongo/db/ops/update.cpp
index 91806cdac88..ad3a90f6145 100644
--- a/src/mongo/db/ops/update.cpp
+++ b/src/mongo/db/ops/update.cpp
@@ -612,7 +612,7 @@ namespace mongo {
validateUpdate( ns , updateobj , patternOrig );
- if ( newUpdateFrameworkEnabled ) {
+ if ( isNewUpdateFrameworkEnabled() ) {
UpdateResult ur = _updateObjectsNEW(false, ns, updateobj, patternOrig,
upsert, multi, logop,
@@ -642,7 +642,7 @@ namespace mongo {
validateUpdate( ns , updateobj , patternOrig );
- if ( newUpdateFrameworkEnabled ) {
+ if ( isNewUpdateFrameworkEnabled() ) {
UpdateResult ur = _updateObjectsNEW(false,
ns,
@@ -681,7 +681,7 @@ namespace mongo {
}
BSONObj applyUpdateOperators( const BSONObj& from, const BSONObj& operators ) {
- if ( newUpdateFrameworkEnabled ) {
+ if ( isNewUpdateFrameworkEnabled() ) {
UpdateDriver::Options opts;
opts.multi = false;
opts.upsert = false;