rogerbinns / apsw

Another Python SQLite wrapper
https://rogerbinns.github.io/apsw/
Other
733 stars 97 forks source link

FindFunction results saved in vtab not connection #405

Closed rogerbinns closed 1 year ago

rogerbinns commented 1 year ago

When xFindFunction returns a function, SQLite provides no destructor callback, so they are currently saved to a list in Connection. The docs have since been updated since SQLite added this, and the lifetime is narrower (the lifetime of vtab). Change the code to reflect this.