diff --git a/plugins/input/postgis/connection_manager.hpp b/plugins/input/postgis/connection_manager.hpp index f50569355..ca6909ecd 100644 --- a/plugins/input/postgis/connection_manager.hpp +++ b/plugins/input/postgis/connection_manager.hpp @@ -106,7 +106,7 @@ public: bool registerPool(const ConnectionCreator& creator,unsigned initialSize,unsigned maxSize) { #ifdef MAPNIK_THREADSAFE - mutex::scoped_lock lock(mutex_); + //mutex::scoped_lock lock(mutex_); #endif if (pools_.find(creator.id())==pools_.end()) { @@ -121,7 +121,7 @@ public: boost::shared_ptr getPool(std::string const& key) { #ifdef MAPNIK_THREADSAFE - mutex::scoped_lock lock(mutex_); + //mutex::scoped_lock lock(mutex_); #endif ContType::const_iterator itr=pools_.find(key); if (itr!=pools_.end()) @@ -135,7 +135,7 @@ public: HolderType get(std::string const& key) { #ifdef MAPNIK_THREADSAFE - mutex::scoped_lock lock(mutex_); + //mutex::scoped_lock lock(mutex_); #endif ContType::const_iterator itr=pools_.find(key); if (itr!=pools_.end())