|
Re: Read-only mode?: msg#00127db.sqlite.general
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> |
|---|---|---|
| Previous by Date: | Read-only mode?: 00127, hardinginst |
|---|---|
| Next by Date: | Re: Weird memory leak: 00127, Steven Frank |
| Previous by Thread: | Read-only mode?i: 00127, hardinginst |
| Next by Thread: | SQLite and Introspection: 00127, Tito Ciuro |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |