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

Make issue #1

Open
phairland opened this issue Jun 12, 2015 · 1 comment
Open

Make issue #1

phairland opened this issue Jun 12, 2015 · 1 comment

Comments

@phairland
Copy link

I am trying to compile mongotcl in Arch Linux
I install c driver v0.8.1.1 = libmongoc-legacy-0.8.1-1-x86_64.pkg.tar.xz
Then after make I got the following error:

./generic/mongotcl.c:768:8: error: too few arguments to function ‘mongo_create_index’
if (mongo_create_index (md->conn, Tcl_GetString(objv[2]), keyBson, updateFlags, outBson) != MONGO_OK) {
^
In file included from ./generic/mongotcl.h:21:0,
from ./generic/mongotcl.c:9:

@bovine
Copy link
Member

bovine commented Jun 12, 2015

As of 0.8.1, mongo_create_index now has a ttl parameter:

int mongo_create_index( mongo *conn, const char *ns, const bson *key, const char *name, int options, int ttl, bson *out );

https://github.com/mongodb/mongo-c-driver-legacy/blob/master/HISTORY.md

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

2 participants