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

master branch of mongo-c-driver required to work with recent MongoDB #59

Open
assen-totin opened this issue Feb 23, 2014 · 0 comments
Open

Comments

@assen-totin
Copy link

Currently, the mongo-c-driver submodule liks to branch gridfs_id of that project. However, this branch does not work, at least with recent MongoDB. On Mongo 2.4.6 I get the file name and length, but file retrieval fails, because mongo_cursor_next() function of the driver wrongly reports there is no data to read (cursor->reply->fields.num is always 0).

This issue seems to be fixed in the master branch of the mongo-c-driver; at least, file retrieval works properly. To get it working, do not do 'git submodule init...' but simply do a 'git clone' of the submodule repo (which will give you the master branch).

Please, update the .gitmodules path.

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

No branches or pull requests

1 participant