diff options
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; |