marcello3d / node-mongolian

[project inactive] Mongolian DeadBeef is an awesome Mongo DB driver for node.js
https://groups.google.com/group/node-mongolian
zlib License
350 stars 50 forks source link

Fix for issue #28 - connecting to mongos was not working #62

Closed yosefd closed 12 years ago

yosefd commented 12 years ago

When connecting through mongos, the database 'admin' should be explicitly specified. Before the fix, mongos was returning the following error: 'assertion s/config.h:119'. After changing empty db name to 'admin', the command works well and correctly identifies the current connection as connection to master.

marcello3d commented 12 years ago

Awesome, thanks!