[gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?

Even Rouault even.rouault at spatialys.com
Tue Sep 15 07:33:51 PDT 2020


Ivan,

> https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca5/
> gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp#L316

The logic

if( nServerVersion >= 12 && nServerRelease >= 2 )

looks wrong to me. It will not work for 13.0 for example

Shouldn't that be

if( nServerVersion > 12 || (nServerVersion == 12 && nServerRelease >= 2) )

?

That said that doesn't explain issues with 12.2 

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200915/4aef8950/attachment.html>


More information about the gdal-dev mailing list