[CDRIVER-402] C Driver: appending undefined instead of null Created: 01/Aug/14 Updated: 03/May/17 Resolved: 05/Aug/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Anil Kumar | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
There is a bug in the C driver where it appends undefined instead of null in bson_append_iter (https://github.com/mongodb/libbson/blob/master/src/bson/bson.c#L1245-L1247):
A similar append in bson_append_value at https://github.com/mongodb/libbson/blob/master/src/bson/bson.c#L1723-L1725 seems to be correctly implemented. |
| Comments |
| Comment by Christian Hergert [ 05/Aug/14 ] |
|
Merged to master, thanks! |