diff options
author | Justin Seyster <justin.seyster@mongodb.com> | 2017-08-10 11:27:04 -0400 |
---|---|---|
committer | Justin Seyster <justin.seyster@mongodb.com> | 2017-08-10 11:29:14 -0400 |
commit | 5368ddee0e72af3283e2591f751a5b79925e64d0 (patch) | |
tree | 7b3ebd74c06eb78d500016232e79f70a084b03e4 /src/mongo/db/exec | |
parent | d8eda8b631928bd78e71d06f20f39b6611b908a4 (diff) | |
download | mongo-5368ddee0e72af3283e2591f751a5b79925e64d0.tar.gz |
SERVER-28772 Remove the $pushAll modifier.
The $pushAll modifier was deprecated and is now unsupported. Clients
should switch to the $push modifier with $each to get $pushAll
behavior.
This patch also updates some copyright notices that should have been
updated as part of file renames in bf99c6.
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/update.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/update.cpp b/src/mongo/db/exec/update.cpp index 7533a0b2680..42e2bb3bf8f 100644 --- a/src/mongo/db/exec/update.cpp +++ b/src/mongo/db/exec/update.cpp @@ -268,8 +268,8 @@ BSONObj UpdateStage::transformAndUpdate(const Snapshotted<BSONObj>& oldObj, Reco // during its 'prepare' phase. That represents a missed optimization, but we still // shouldn't do any real work. Toggle 'docWasModified' to 'false'. // - // Currently, an example of this is '{ $pushAll : { x : [] } }' when the 'x' array - // exists. + // Currently, an example of this is '{ $push : { x : {$each: [], $sort: 1} } }' when the 'x' + // array exists and is already sorted. docWasModified = false; } |