diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-08-18 09:23:15 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-08-18 09:23:15 +0200 |
commit | 3b9581e84e19723087b31b79674801b6c06ae533 (patch) | |
tree | 5568dbd7199b1ce64ace1cec26b590c1431e872d /client/dbclientcursor.cpp | |
parent | d7ec8115ec4b160ed74c1a8a06a1c171d76370ac (diff) | |
download | mongodb-3b9581e84e19723087b31b79674801b6c06ae533.tar.gz |
Imported Upstream version 1.6.1
Diffstat (limited to 'client/dbclientcursor.cpp')
-rw-r--r-- | client/dbclientcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dbclientcursor.cpp b/client/dbclientcursor.cpp index 07771bb..5f9db43 100644 --- a/client/dbclientcursor.cpp +++ b/client/dbclientcursor.cpp @@ -193,7 +193,7 @@ namespace mongo { void DBClientCursor::attach( AScopedConnection * conn ){ assert( _scopedHost.size() == 0 ); - assert( connector == conn->get() ); + assert( conn->get()->isMember( connector ) ); _scopedHost = conn->getHost(); conn->done(); connector = 0; |