Omit more features of sqlite, and fix warnings