[CDRIVER-885] Silent early exit from _mongoc_write_command_execute Created: 28/Sep/15 Updated: 24/Nov/15 Resolved: 24/Nov/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.0-beta0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The driver will exit without writing data or reporting an error:
The checked call to _mongoc_client_preselect, above, should ensure max_wire_version is non-negative, so this should be an ALWAYS_ASSERT instead of a regular check? |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 24/Nov/15 ] |
|
Fixed in 89d543 with |