more basic changes to sqlite3 library