Re: [gdal-dev] SQLite driver and drop table problem

2013-06-14 Thread Piotr Tracz
W dniu 2013-06-14 20:58, Even Rouault pisze: http://svn.osgeo.org/gdal/trunk/autotest/ogr/data/poly_spatialite.sqlite and then do : ogrinfo poly_spatialite.sqlite -sql "drop table poly" ? This works for me with SQLITE 3.6.22 and 3.7.13. Yes it works. False alarm. Error was a reason of some orp

Re: [gdal-dev] SQLite driver and drop table problem

2013-06-14 Thread Even Rouault
Le vendredi 14 juin 2013 20:18:19, Piotr Tracz a écrit : > Hello, > > I think there might be a bug in OGRSQLiteDataSource::ExecuteSQL but > before I make bug ticket, I want to be sure I'm not missing anything. > When one try to execute SQL command "DROP TABLE xxx", error "In > ExecuteSQL(): sqlite

[gdal-dev] SQLite driver and drop table problem

2013-06-14 Thread Piotr Tracz
Hello, I think there might be a bug in OGRSQLiteDataSource::ExecuteSQL but before I make bug ticket, I want to be sure I'm not missing anything. When one try to execute SQL command "DROP TABLE xxx", error "In ExecuteSQL(): sqlite3_step(DROP TABLE xxx): SQL logic error or missing database" oc