Skip to content
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

Closed
wants to merge 5 commits into from

Conversation

bjori
Copy link
Contributor

@bjori bjori commented Nov 19, 2015

There is a known memory leak in mongoc, see https://jira.mongodb.org/browse/CDRIVER-1017

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"
Copy link
Contributor Author

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);
Copy link
Contributor Author

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

@derickr
Copy link
Contributor

derickr commented Nov 20, 2015

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 :-) )

@derickr derickr closed this Nov 20, 2015
@bjori
Copy link
Contributor Author

bjori commented Nov 20, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants