[CDRIVER-388] mongoc_collection_create_index does not support opt as NULL Created: 07/Jul/14 Updated: 03/May/17 Resolved: 07/Jul/14 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | 0.96.4 |
| Fix Version/s: | TBD |
| Type: | Bug | Priority: | Trivial - P5 |
| Reporter: | Jan-Olof Hellstrand | Assignee: | Christian Hergert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Code checks if opt is NULL and the returns false. Next line of code checks if opt it null and if so sets opt to default ( mongoc_index_opt_get_default()) |
| Comments |
| Comment by Christian Hergert [ 07/Jul/14 ] |
|
Fixed in https://github.com/mongodb/mongo-c-driver/commit/3a407279d738c9b25479cbd25a15a9f5ad7af6d7 |
| Comment by Christian Hergert [ 07/Jul/14 ] |
|
Thanks for catching this jan-olof.hellstrand@svenskaspel.se, I'll have a fix up shortly. |