[SERVER-28775] Create UnsetNode Created: 12/Apr/17  Updated: 12/Oct/17  Resolved: 26/May/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.5.8

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Justin Seyster
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-28777 Always parse update expression as an ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-05-29, Query 2017-06-19
Participants:

 Description   

Create UnsetNode implementing UpdateLeafNode. Ensure we can parse $unset to a UnsetNode. UnsetNode::apply() should not create pathToCreate.



 Comments   
Comment by Justin Seyster [ 26/May/17 ]

This got reverted as a result of some conflicting const changes that hit the build inbetween when I last tested and when I rebased. It should be good to go now, though!

Comment by Githook User [ 26/May/17 ]

Author:

{u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}

Message: SERVER-28775 Create UnsetNode

This is a second attempt at 90fd8a19000b5f96983f068e6380c1f6bd824b69,
which got reverted because it introduced a compile error.

The problem was that UpdateNode::apply() earned "const" status after I
tested the original patch but before I rebased for the final
commit. Oops!
Branch: master
https://github.com/mongodb/mongo/commit/210cd048511296261da8942d2ffb3421bc237bd3

Comment by Githook User [ 26/May/17 ]

Author:

{u'username': u'will62794', u'name': u'William Schultz', u'email': u'william.schultz@mongodb.com'}

Message: Revert "SERVER-28775 Create UnsetNode"

This reverts commit 90fd8a19000b5f96983f068e6380c1f6bd824b69.
Branch: master
https://github.com/mongodb/mongo/commit/9278ab2dd9da90e225377f0bf97d9d6938be1520

Comment by Githook User [ 26/May/17 ]

Author:

{u'username': u'jseyster', u'name': u'Justin Seyster', u'email': u'justin.seyster@mongodb.com'}

Message: SERVER-28775 Create UnsetNode
Branch: master
https://github.com/mongodb/mongo/commit/90fd8a19000b5f96983f068e6380c1f6bd824b69

Generated at Thu Feb 08 04:19:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.