[mapguide-commits] r1084 - trunk/MgDev/Common/MapGuideCommon/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Jan 31 16:45:31 EST 2007


Author: brucedechant
Date: 2007-01-31 16:45:27 -0500 (Wed, 31 Jan 2007)
New Revision: 1084

Modified:
   trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp
Log:
Change the property DataConnectionPoolExcludedProviders in the serverconfig.ini file to allow all providers to be cached. The old code would interpret a blank entry for this property in the serverconfig.ini file as nothing to read and would default to excluding the SDF and SHP providers.

Modified: trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp	2007-01-31 21:21:41 UTC (rev 1083)
+++ trunk/MgDev/Common/MapGuideCommon/System/ConfigProperties.cpp	2007-01-31 21:45:27 UTC (rev 1084)
@@ -232,7 +232,7 @@
 const STRING MgConfigProperties::FeatureServicePropertyDataConnectionPoolEnabled            = L"DataConnectionPoolEnabled";
 const bool   MgConfigProperties::DefaultFeatureServicePropertyDataConnectionPoolEnabled     = false;
 const STRING MgConfigProperties::FeatureServicePropertyDataConnectionPoolExcludedProviders  = L"DataConnectionPoolExcludedProviders";
-const STRING MgConfigProperties::DefaultFeatureServicePropertyDataConnectionPoolExcludedProviders = L"OSGeo.SDF,OSGeo.SHP";
+const STRING MgConfigProperties::DefaultFeatureServicePropertyDataConnectionPoolExcludedProviders = L""; // This means all providers are cached
 const STRING MgConfigProperties::FeatureServicePropertyDataConnectionPoolSize               = L"DataConnectionPoolSize";
 const INT32  MgConfigProperties::DefaultFeatureServicePropertyDataConnectionPoolSize        = 100;
 const STRING MgConfigProperties::FeatureServicePropertyDataConnectionTimeout                = L"DataConnectionTimeout";



More information about the mapguide-commits mailing list