More SQLite support code