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

vtable BestIndex callback missing colUsed input

Open theimpostor opened this issue 9 months ago • 0 comments

struct sqlite3_index_info includes a mask of all column indexes used: https://github.com/mattn/go-sqlite3/blob/7658c06970ecf5588d8cd930ed1f2de7223f1010/sqlite3-binding.h#L7487

This should be included as a parameter to the BestIndex virtual table callback.

theimpostor avatar Mar 03 '25 22:03 theimpostor