Re: [gdal-dev] OGR SQL implicit conversions

2011-09-26 Thread Even Rouault
Selon Tamas Szekeres : > Hi Even, > > Thanks for the valuable comments, I've modified the patch in accordance with > your suggestions. > http://trac.osgeo.org/gdal/attachment/ticket/4259/swq_op_general.cpp.patch > Looks good to me. > Best regards, > > Tamas > > > > 2011/9/23 Even Rouault > > >

Re: [gdal-dev] OGR SQL implicit conversions

2011-09-26 Thread Tamas Szekeres
Hi Even, Thanks for the valuable comments, I've modified the patch in accordance with your suggestions. http://trac.osgeo.org/gdal/attachment/ticket/4259/swq_op_general.cpp.patch Let me know if you find something else that can be changed. I've just added a warning if the conversion fails, but I'm

Re: [gdal-dev] OGR SQL implicit conversions

2011-09-23 Thread Even Rouault
Le mercredi 21 septembre 2011 19:20:17, Tamas Szekeres a écrit : > Hi Devs, > > We have some problems due to the recent changes in the SQL expression > parser which is related to the change in the implicit type conversion > behaviour. > > Formerly we could safely use the following statement: > >

Re: [gdal-dev] OGR SQL implicit conversions

2011-09-22 Thread Daniel Morissette
No strong opinion/preference for me... On 11-09-21 01:20 PM, Tamas Szekeres wrote: Hi Devs, We have some problems due to the recent changes in the SQL expression parser which is related to the change in the implicit type conversion behaviour. Formerly we could safely use the following stateme

[gdal-dev] OGR SQL implicit conversions

2011-09-21 Thread Tamas Szekeres
Hi Devs, We have some problems due to the recent changes in the SQL expression parser which is related to the change in the implicit type conversion behaviour. Formerly we could safely use the following statement: select * from mytable where ogr_fid in ('1100','1101','1102') If the data type of