-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to mongoc-1.3.0-beta0 and libbson-1.3.0-beta0 #140
Conversation
Reverse the logic -- The return value of the check_closed handler is true if the stream is _closed_
@@ -20,7 +20,7 @@ build_lcov() { | |||
build_lcov | |||
|
|||
phpize | |||
./configure --enable-developer-flags --enable-coverage | |||
./configure --enable-developer-flags --enable-coverage CFLAGS="-Wno-type-limits" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1356,10 +1352,8 @@ void php_phongo_cursor_to_zval(zval *retval, php_phongo_cursor_t *cursor) /* {{{ | |||
_ADD_BOOL(zcursor, is_command); | |||
_ADD_BOOL(zcursor, sent); | |||
_ADD_BOOL(zcursor, done); | |||
_ADD_BOOL(zcursor, failed); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this was ever actually used to signal failure, so it was removed
I am closing this in favour of #141, as that already had some work done towards the changes in this PR. (You might also want to rename your forked repo from mongo-php-driver-prototype to mongo-php-driver, as I got confused when pulling in the legacy commits while cherry picking your commits :-) ) |
I actually confused my self to when I couldn't find my changes on github.com/bjori/mongo-php-driver -- finally figuring it was the legacy driver haha |
There is a known memory leak in mongoc, see https://jira.mongodb.org/browse/CDRIVER-1017