Thanks for your answers.

I have reviewed my oracle settings and in fact what I said wasn't strictly 
ok... I compiled GDAL using a 12.2 oracle client, but the database I got for 
the tests is oracle 19... so it won't work (I think Even is right). Sorry for 
that bad info in my first mail.

I'm going to look for a 12.2 database that I can use for new tests and will 
keep you informed. Because it should work in that context at least.

Victoria
From: Even Rouault <[email protected]>
Sent: Tuesday, September 15, 2020 4:34 PM
To: [email protected]
Cc: Ivan Lucena <[email protected]>; Victoria Ponz-Sarvise 
<[email protected]>
Subject: Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name 
size?


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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to