[mapserver-commits] r10859 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Jan 13 11:25:21 EST 2011
Author: warmerdam
Date: 2011-01-13 08:25:21 -0800 (Thu, 13 Jan 2011)
New Revision: 10859
Modified:
trunk/mapserver/mapogroutput.c
Log:
Make OGR_L_CreateField() call forgiving of modest changes such as the
laundering of field names by the driver (#3625).
Modified: trunk/mapserver/mapogroutput.c
===================================================================
--- trunk/mapserver/mapogroutput.c 2011-01-12 22:23:43 UTC (rev 10858)
+++ trunk/mapserver/mapogroutput.c 2011-01-13 16:25:21 UTC (rev 10859)
@@ -729,7 +729,7 @@
if( item->precision != 0 )
OGR_Fld_SetPrecision( hFldDefn, item->precision );
- eErr = OGR_L_CreateField( hOGRLayer, hFldDefn, FALSE );
+ eErr = OGR_L_CreateField( hOGRLayer, hFldDefn, TRUE );
OGR_Fld_Destroy( hFldDefn );
if( eErr != OGRERR_NONE )
More information about the mapserver-commits
mailing list