mongodb/mongo-c-driver — pull request #31 by Gaurav-Gangalwar (2012-03-20 05:58:55+00:00)
Title: Change to support connect secondaries in replica setup and take options for mongo_find_one.

With this change we can connect to secondary servers in replica setup and read from them using SLAVE_OK, query option. Also added options parameter for mongo_find_one to use it with SLAVE_OK.