mongodb/mongo-php-driver — pull request #327 by bjori (2013-03-16 00:00:55+00:00)
Title: Verify write

Coverity flagged a missing write verification before a read, and a wrong error check on failure.

Note: This branch is intentionally based of PR #324 as the function became a callback in that branch.