Fixed sqlite3 adapter