logo       

Re: Read-only mode?: msg#00127

db.sqlite.general

Subject: Re: Read-only mode?

hardinginst wrote:
> I recently ported SQLite to a embedded file system that allows only
> allows a file to be opened once in write mode. My problem is that I
> have to be able to read from the database simultaneously from
> multiple processes. Does anyone know an easy way to modify SQLite so
> that it makes use of the read-only mode of opening files? The
> processes will not be doing database writes, only reads.
>

SQLite first tries to open the database file read/write. If
that fails, it tries again read-only. Surely it wouldn't be
that difficult to get it to skip the read/write attempt and
try read-only first.


--
D. Richard Hipp -- drh-X1OJI8nnyKUAvxtiuMwx3w@xxxxxxxxxxxxxxxx -- 704.948.4565


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/EbFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
sqlite-unsubscribe-VgYJa0VH1e9BDgjK7y7TUQ@xxxxxxxxxxxxxxxx



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise