better-sqlite3 icon indicating copy to clipboard operation
better-sqlite3 copied to clipboard

fix: support SpatiaLite extension

Open merceyz opened this issue 1 year ago • 1 comments

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 but SELECT InitSpatialMetaData() doesn't.

Ref https://github.com/WiseLibs/better-sqlite3/issues/520

merceyz avatar Feb 07 '24 13:02 merceyz

@JoshuaWise when you have a chance, can you check this out please?

mceachen avatar Feb 08 '24 01:02 mceachen