diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-08-18 09:26:34 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-08-18 09:26:34 +0200 |
commit | 99da8d4003cd4619c8655f4a9db74e567d458e68 (patch) | |
tree | 7ffe10ec1cd5f0f86be0b7b6f46a935c5f279046 /client/dbclientcursor.cpp | |
parent | 63f119d2d1a2ed62bc492b427fc498c3c3989149 (diff) | |
parent | 0a9f6162d232e4fb4b70ca07c4a65c0a12173cfc (diff) | |
download | mongodb-99da8d4003cd4619c8655f4a9db74e567d458e68.tar.gz |
Merge commit 'upstream/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; |