From 3b9581e84e19723087b31b79674801b6c06ae533 Mon Sep 17 00:00:00 2001 From: Antonin Kral Date: Wed, 18 Aug 2010 09:23:15 +0200 Subject: Imported Upstream version 1.6.1 --- client/dbclientcursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/dbclientcursor.cpp') 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; -- cgit v1.2.3