Do you think we should use sqlite3_open_v2 here too and explicitly use the SQLITE_OPEN_READWRITE flag?

Just curious.