[mapserver-commits] r11738 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Fri May 20 16:45:03 EDT 2011
Author: tamas
Date: 2011-05-20 13:45:03 -0700 (Fri, 20 May 2011)
New Revision: 11738
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/maporaclespatial.c
Log:
Fixed the query handling problem with the Oracle spatial driver (#3878)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2011-05-20 20:33:41 UTC (rev 11737)
+++ trunk/mapserver/HISTORY.TXT 2011-05-20 20:45:03 UTC (rev 11738)
@@ -15,6 +15,8 @@
Current Version (SVN trunk, 6.1-dev, future 6.2):
-------------------------------------------------
+- Fixed the query handling problem with the Oracle spatial driver (#3878)
+
- Fixed potential crash with AVERAGE resampling and crazy reprojection (#3886)
- Adjusted OperationsMetadata for POST in WCS 2.0 GetCapabilities response
Modified: trunk/mapserver/maporaclespatial.c
===================================================================
--- trunk/mapserver/maporaclespatial.c 2011-05-20 20:33:41 UTC (rev 11737)
+++ trunk/mapserver/maporaclespatial.c 2011-05-20 20:45:03 UTC (rev 11738)
@@ -2210,7 +2210,10 @@
OCIStmtExecute( hand->svchp, sthand->stmthp, hand->errhp, (ub4)ARRAY_SIZE, (ub4)0, (OCISnapshot *)NULL, (OCISnapshot *)NULL, (ub4)OCI_STMT_SCROLLABLE_READONLY ) )
&& TRY( hand,
/* get rows fetched */
- OCIAttrGet( (dvoid *)sthand->stmthp, (ub4)OCI_HTYPE_STMT, (dvoid *)&sthand->rows_fetched, (ub4 *)0, (ub4)OCI_ATTR_ROW_COUNT, hand->errhp ) );
+ OCIAttrGet( (dvoid *)sthand->stmthp, (ub4)OCI_HTYPE_STMT, (dvoid *)&sthand->rows_fetched, (ub4 *)0, (ub4)OCI_ATTR_ROWS_FETCHED, hand->errhp ) )
+ && TRY( hand,
+ /* get rows count */
+ OCIAttrGet( (dvoid *)sthand->stmthp, (ub4)OCI_HTYPE_STMT, (dvoid *)&sthand->rows_count, (ub4 *)0, (ub4)OCI_ATTR_ROW_COUNT, hand->errhp ) );
}
if (!success)
More information about the mapserver-commits
mailing list