[mapserver-commits] r10195 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon May 31 12:04:48 EDT 2010


Author: aboudreault
Date: 2010-05-31 12:04:46 -0400 (Mon, 31 May 2010)
New Revision: 10195

Modified:
   trunk/mapserver/HISTORY.TXT
   trunk/mapserver/maporaclespatial.c
Log:
Fixed Internal server error when Oracle returns ora-28002 code (#3457)

Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT	2010-05-30 10:08:15 UTC (rev 10194)
+++ trunk/mapserver/HISTORY.TXT	2010-05-31 16:04:46 UTC (rev 10195)
@@ -14,6 +14,8 @@
 Current Version (SVN trunk):
 ----------------------------
 
+- Fixed Internal server error when Oracle returns ora-28002 code (#3457)
+
 - Fixed PHP/MapScript ms_iogetstdoutbufferbytes() always returning 0 bytes written (#3041)
 
 - MapScript resultsGetShape() method fails with a OracleSpatial layer (#3462)

Modified: trunk/mapserver/maporaclespatial.c
===================================================================
--- trunk/mapserver/maporaclespatial.c	2010-05-30 10:08:15 UTC (rev 10194)
+++ trunk/mapserver/maporaclespatial.c	2010-05-31 16:04:46 UTC (rev 10195)
@@ -231,6 +231,7 @@
 
     switch (status)
     {
+        case OCI_SUCCESS_WITH_INFO:
         case OCI_ERROR:
             OCIErrorGet((dvoid *)hand->errhp, (ub4)1, (text *)NULL, &errcode, hand->last_oci_error, (ub4)sizeof(hand->last_oci_error), OCI_HTYPE_ERROR );
             if (errcode == NULLERRCODE)



More information about the mapserver-commits mailing list