Fix regressions with SQLite 3.44.x
Fixes for two SQLite regressions in 3.44.x in the 2 middle commits:
- Initialize FTS tokenizer earlier, since the
integrity-check
pragma now involves existing virtual tables. This is an intended change in SQLite - Avoid renaming of the FTS table during creation, since this raises SQLite
Logic error
s. This seems unintended breakage in SQLite: https://sqlite.org/forum/forumpost?udc=1&name=4dbfcd293d
With some intro/outro refactors.