[mapguide-commits] r4869 - sandbox/adsk/2.1/Server/src/Common/Manager

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu May 13 18:01:25 EDT 2010


Author: brucedechant
Date: 2010-05-13 18:01:24 -0400 (Thu, 13 May 2010)
New Revision: 4869

Modified:
   sandbox/adsk/2.1/Server/src/Common/Manager/ServerManager.cpp
Log:
Fix for trac ticket 1354 - GetSiteInfo is returning bad values for AverageOperationTime and TotalOperationTime
http://trac.osgeo.org/mapguide/ticket/1354

Notes:
- Updated GetAverageOperationTime to INT64 to match rest of code


Modified: sandbox/adsk/2.1/Server/src/Common/Manager/ServerManager.cpp
===================================================================
--- sandbox/adsk/2.1/Server/src/Common/Manager/ServerManager.cpp	2010-05-13 11:53:04 UTC (rev 4868)
+++ sandbox/adsk/2.1/Server/src/Common/Manager/ServerManager.cpp	2010-05-13 22:01:24 UTC (rev 4869)
@@ -483,8 +483,8 @@
     pProperties->Add(pProperty);
 
     // Add the AverageOperationTime
-    INT32 nAverageOperationTime = GetAverageOperationTime();
-    pProperty = new MgInt32Property(MgServerInformationProperties::AverageOperationTime, nAverageOperationTime);
+    INT64 nAverageOperationTime = GetAverageOperationTime();
+    pProperty = new MgInt64Property(MgServerInformationProperties::AverageOperationTime, nAverageOperationTime);
     pProperties->Add(pProperty);
 
     // Add the server Version



More information about the mapguide-commits mailing list