0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

fix $unset combined with other modifier bug

This commit is contained in:
Eliot Horowitz 2010-01-21 23:26:46 -05:00
parent acafaffa32
commit ead28f59e2

View File

@ -235,6 +235,7 @@ namespace mongo {
BSONElement e = obj.getFieldDotted(m.fieldName);
if ( e.eoo() ) {
if ( inPlacePossible )
inPlacePossible = (m.op == Mod::UNSET);
}
else {