elixir-sqlite / exqlite

An SQLite3 driver for Elixir
https://hexdocs.pm/exqlite
MIT License
208 stars 47 forks source link

Release 0.22.0: the index_info pragma stopped working #285

Closed orsinium closed 4 months ago

orsinium commented 5 months ago

In #232, the SQLITE_ENABLE_DBSTAT_VTAB option was enabled that made pragmas work with exqlite. That, in turn, made ecto_sqlite3_extras possible. However, in 0.22.0 release of exqlite (which seems to only update the sqlite version), the index_info pragma started to return no results.

Do you know what might be the cause?

orsinium commented 4 months ago

Seems to work in 0.23.0 🤔

https://github.com/orsinium-labs/ecto_sqlite3_extras/pull/37

warmwaffles commented 4 months ago

With v0.22 which version of exqlite where you testing with?

orsinium commented 4 months ago

With v0.22 which version of exqlite where you testing with?

With exqlite 0.22.0. You can find both builds in the dependabot PRs:

warmwaffles commented 4 months ago

I don't know the reason for that failure TBH.

orsinium commented 4 months ago

That's alright, it seems to work now. Thank you for looking into it ❤️