duckdb / duckdb_spatial

MIT License
489 stars 40 forks source link

Fix ST_Read_Meta() type mismatch errors on Linux #452

Open rcoup opened 2 weeks ago

rcoup commented 2 weeks ago

Fixes #451

The error is caused by an uninitialized EOF variable in the GDAL file handler, which if EOF is checked before a seek, leads to an intermittent SQL Type Mismatch error in release builds, and a runtime error crash in debug builds.

Maxxen commented 2 weeks ago

Hi! Good job digging into this and thanks a lot for the PR!

Maxxen commented 2 weeks ago

Don't worry about the failing CI, we need to update duckdb and create a stable branch, but I'll take care of it.