[SERVER-3223] $bit won't do an upsert Created: 08/Jun/11 Updated: 12/Jul/16 Resolved: 02/Dec/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Dwight Merriman | Assignee: | David Storch |
| Resolution: | Done | Votes: | 7 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
> db.yy.update( {z:3},{$bit:{y: {or:new NumberLong(8)}}},true) > db.yy.update( {z:3},{$inc:{y:NumberLong(33)}},true) |
| Comments |
| Comment by Githook User [ 02/Dec/13 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> |
| Comment by Scott Hernandez (Inactive) [ 20/Nov/13 ] |
|
David, can you check to see if |
| Comment by David Storch [ 01/Nov/13 ] |
|
This has been fixed in 2.5 with the changes for update() refactor, |