Fix SQLite database in memory.