It will be awhile as I did not realize your platform was OS X. The problem does not reproduce for Linux x64, Windows x64 or Windows i386. "select * from pragma_integrity_check" on your DB yields only "ok". I will try to reproduce on a BSD machine as that should be close to the same execution environment as OS X. My Mac was converted to a Linux box when OS updates ceased for it, and my VM images running the same OS are 2000 miles away. So repro on a Mac is out of reach for me just now. Are you using a Mac with an x86_64 processor? Or is it one of the new Macs with Apple's ARM-like CPU?