summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2013-05-31 10:54:19 -0400
committerAlberto Lerner <alerner@10gen.com>2013-05-31 11:26:58 -0400
commit8bad41e8f65744266c503ca4ccb38e16aefa15e5 (patch)
tree20ac0c44bec078165b0cdbf57a349355d136b5aa
parente52de4130cf076cfb18178e9ce5e117b3553d9ed (diff)
downloadmongo-8bad41e8f65744266c503ca4ccb38e16aefa15e5.tar.gz
SERVER-7175 Use the proper call to determine how to route updates.
-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;