[SERVER-1894] Errors could be better on upsert Created: 05/Oct/10 Updated: 03/Sep/11 Resolved: 03/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 1.6.3 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kushal Dave | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS X |
||
| Participants: |
| Description |
|
> db.x.update( {'_id': 1}, {'a':1}, upsert=true) > db.x.update( {'_id': 1}, {'_id': 1, 'a':1}, upsert=true) I also had something along these lines that caused an assert failure, but I can't repro it now. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 03/Sep/11 ] |
|
both work for me |