[mapguide-commits] r4274 - trunk/MgDev/Server/src/Services/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Sep 30 13:43:31 EDT 2009
Author: brucedechant
Date: 2009-09-30 13:43:31 -0400 (Wed, 30 Sep 2009)
New Revision: 4274
Modified:
trunk/MgDev/Server/src/Services/Feature/ServerFeatureConnection.cpp
Log:
Small update for RFC78
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc78
Submitted on behalf of Aleck Sun
- Add additional reference to the FDO connection when HasReader() method is called multiple times.
Modified: trunk/MgDev/Server/src/Services/Feature/ServerFeatureConnection.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Feature/ServerFeatureConnection.cpp 2009-09-29 15:51:01 UTC (rev 4273)
+++ trunk/MgDev/Server/src/Services/Feature/ServerFeatureConnection.cpp 2009-09-30 17:43:31 UTC (rev 4274)
@@ -179,5 +179,7 @@
void MgServerFeatureConnection::HasReader()
{
+ if(! m_bCloseConnection)
+ FDO_SAFE_ADDREF(m_fdoConn);
m_bCloseConnection = false;
}
More information about the mapguide-commits
mailing list