-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Client
-
None
-
Environment:OSX
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
For some reason, it seems like connecting to a (2.0) mongod using the no-errmsg connect() method fails when using the C++ driver (2.2).
void run() {
cout << "run()\n";
DBClientConnection c;
string errmsg;
// This does not work, error in verify(p) in MessagingPort::port()
c.connect("localhost:27017");
// This seems to work
//if(c.connect("localhost:27017", errmsg))
// cout << "connect ok\n";
}
Exact compilation steps pending, as well as steps on a pure-2.0 setup.