On Tue, Nov 12, 2013 at 12:25 PM, L. Wood <lwoo...@live.com> wrote:

> * For each transaction, i.e. between _prepare_v2() and _finalize(), does
> SQLite on Mac OS X only use the POSIX open(), read(), write(), lseek() etc.
> functions to read/write into the -journal file? Or does it use some other
> functions?
>
> * For each transaction, i.e. between _prepare_v2() and _finalize(), does
> SQLite on Mac OS X open the -journal file once in the beginning of the
> transaction for both reading and writing and close it at the end of the
> transaction? Or does it open it once for writing at the beginning of the
> transaction, and open it again for reading at the end of the transaction?
> _______________________________________________
>

POSIX functions (read(), write(), etc) are used on Mac.  It opens and
closes the rollback journal file once per transaction.

-- 
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