Closed merceyz closed 4 months ago
According to https://github.com/WiseLibs/better-sqlite3/issues/230#issuecomment-467917417 SQLITE_OMIT_GET_TABLE is set to reduce the binary size, by 4224 bytes in my test, but it causes the SpatiaLite extension to segfault the process.
SQLITE_OMIT_GET_TABLE
This PR removes SQLITE_OMIT_GET_TABLE to support SpatiaLite.
Loading mod_spatialite works without this PR but SELECT InitSpatialMetaData() doesn't.
mod_spatialite
SELECT InitSpatialMetaData()
Ref https://github.com/WiseLibs/better-sqlite3/issues/520
@JoshuaWise when you have a chance, can you check this out please?
According to https://github.com/WiseLibs/better-sqlite3/issues/230#issuecomment-467917417
SQLITE_OMIT_GET_TABLE
is set to reduce the binary size, by 4224 bytes in my test, but it causes the SpatiaLite extension to segfault the process.This PR removes
SQLITE_OMIT_GET_TABLE
to support SpatiaLite.Loading
mod_spatialite
works without this PR butSELECT InitSpatialMetaData()
doesn't.Ref https://github.com/WiseLibs/better-sqlite3/issues/520