Thanks for the report. This is now fixed on trunk, here: [https://system.data.sqlite.org/index.html/info/6cda6ab5ab4bcee5]