Increase Maximum Number Of Host Parameters In A Single SQL Statement
This PR is a follow-up to https://github.com/requery/sqlite-android/issues/124. Is this something that can be merged into this repo, instead of us having to fork it?
If this change doesn't negatively effect memory usage in a typical use case then should be able to merge it. May also be possible to configure it this way and then lower the limit at runtime and have it be configurable somehow. Will look into this!
https://www.sqlite.org/limits.html
To prevent excessive memory allocations, the maximum value of a host parameter number is SQLITE_MAX_VARIABLE_NUMBER, which defaults to 999 for SQLite versions prior to 3.32.0 (2020-05-22) or 32766 for SQLite versions after 3.32.0.
Since SQLite v3.35.5 got merged in last week does this mean it will use the new defaults (i.e. 32766 for SQLITE_MAX_VARIABLE_NUMBER)?