ParentFull threadsimscitizen·Use sqlite3_open_v2 with the SQLITE_OPEN_READONLY flag. It's been there for several releases now.View on HN