Snapshot of upstream SQLite 3.7.17