SQLite is broken but looks fixable