Thanks for sending the database! According to [bisect][1] the problem has been fixed on trunk. Please try again using the lastest [Prerelease Snapshot][2] and let us know if you are still having problems. [1]: https://sqlite.org/src/timeline?bid=yfa11230135n3bfa9cc97dy3a51919ac2yee034fe916nae6dd8d3e9n16aed5d0c6yc9a8defcefnabfb043ebbn0c683c43a6ne0c6b8bdb7 [2]: https://www.sqlite.org/download.html