[mapguide-commits] r8871 - sandbox/adsk/3.1n/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Feb 17 21:52:26 PST 2016


Author: hubu
Date: 2016-02-17 21:52:26 -0800 (Wed, 17 Feb 2016)
New Revision: 8871

Modified:
   sandbox/adsk/3.1n/Web/src/schemareport/displayschemafunctions.php
Log:
Fix #2585: the total entries is not correct with Oracle data source.

It is because the initial vale of total entries is -1. We should set it to 0.

Modified: sandbox/adsk/3.1n/Web/src/schemareport/displayschemafunctions.php
===================================================================
--- sandbox/adsk/3.1n/Web/src/schemareport/displayschemafunctions.php	2016-02-01 07:20:46 UTC (rev 8870)
+++ sandbox/adsk/3.1n/Web/src/schemareport/displayschemafunctions.php	2016-02-18 05:52:26 UTC (rev 8871)
@@ -120,7 +120,7 @@
     //
     //NOTE: If MapGuide supported scrollable readers like FDO, we'd have also tried 
     //that as well.
-    $totalEntries = -1;
+    $totalEntries = 0;
     $featureName = $schemaName . ":" . $className;
     $canCount = false;
     $gotCount = false;



More information about the mapguide-commits mailing list