sebeaumont / spatialite-simple

Haskell GIS library package using SpatiaLite and SQLite3 (sqlite-simple, direct-sqlite)
Other
0 stars 0 forks source link

This looks like bogus logic to me surely this should be > 0? #1

Open sebeaumont opened 5 years ago

sebeaumont commented 5 years ago

https://github.com/sebeaumont/spatialite-simple/blob/7ebcc89b526d35a395d3cf57ebdf176cdba16f14/src/Database/GIS/SpatiaLite/Internal.hs#L115

sebeaumont commented 5 years ago

Ho hum...looks like a regression -- need a test case for this one as it doesn't show up if the schema already exists!

sebeaumont commented 5 years ago

It appears to be fixed and the schema initialisation is idempotent but to run a test case we need access to some internal functions. How do we arrange this?