Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
None
-
OSX
-
ALL
Description
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.