On Thu, Sep 6, 2012 at 10:26 AM, Simon Slavin <slav...@bigfraud.org> wrote:

>
> On 6 Sep 2012, at 3:13pm, Richard Hipp <d...@sqlite.org> wrote:
>
> Suppose you open a database in read-only mode (using SQLITE_OPEN_READONLY)
> and SQLite finds a hot journal for it.  Is tidying up the hot journal done
> even in _READONLY, or do you immediately get a result indicating an error,
> or do you get an error result later ?
>

When SQLITE_OPEN_READONLY is used, then the file might as well be on CDROM
as far as SQLite is concerned.  It won't write to it.  Even to rollback a
hot journal.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to