Unverified Commit 0ddbd4df authored by Kevin Albertson's avatar Kevin Albertson Committed by GitHub
Browse files

CDRIVER-5515 fix assert when legacy exhaust cursor receives no documents (#1562)

* add regression test

Create an exhaust cursor with empty results. Fails an assertion when using legacy op codes.

* CDRIVER-5515 handle NULL for OP_REPLY documents

Avoids an assertion failure in bson_reader_new_from_data if a legacy
exhaust cursor receives an empty batch of documents.
parent 930d1711
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