summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/cpool/ZConnectionPool.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/cpool/ZConnectionPool.cxx b/connectivity/source/cpool/ZConnectionPool.cxx
index 7c88cb2d7ffa..4a387368fa41 100644
--- a/connectivity/source/cpool/ZConnectionPool.cxx
+++ b/connectivity/source/cpool/ZConnectionPool.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ZConnectionPool.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: fs $ $Date: 2001-06-27 10:14:52 $
+ * last change: $Author: fs $ $Date: 2001-06-28 10:31:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -180,7 +180,7 @@ Reference< XConnection > SAL_CALL OConnectionPool::getConnectionWithInfo( const
pair<TConnectionMap::iterator, TConnectionMap::iterator> aThisURLConns = m_aPool.equal_range(_rURL);
TConnectionMap::iterator aIter = aThisURLConns.first;
- if (aIter != m_aPool.end())
+ if (aIter != aThisURLConns.second)
{// we know the url so we have to check if we found one without properties
PropertyMap aMap;
createPropertyMap(_rInfo,aMap);