Unverified Commit 30db519a authored by Kevin Albertson's avatar Kevin Albertson
Browse files

CDRIVER-3969 error when creating uncompleted cursor with no server ID (#1321)

* fix type of BCON_INT32 value

* require serverID for open cursor with `mongoc_cursor_new_from_command_reply_with_opts`

* document expectations of server ID option

* assert `found` after `mongoc_cursor_error`

If an error occurs, `found` is false. Assert on the error first to print the error.

* remove unnecessary nested `if`
parent e55ac6b4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment