I'm working with implementing my own VFS. If the developer(s) could
answer a couple of questions, it would be helpful.
In section 2.1.4 of the SQLite 3.4.2 to 3.5.0 document, reference is
made to "a database file will be doing page-aligned sector reads and
writes in random order" regarding the file types that may be passed to
the function represented by the xOpen parameter in the sqlite3_vfs
structure. Of the database types listed:
SQLITE_OPEN_MAIN_DB
SQLITE_OPEN_MAIN_JOURNAL
SQLITE_OPEN_TEMP_DB
SQLITE_OPEN_TEMP_JOURNAL
SQLITE_OPEN_TRANSIENT_DB
SQLITE_OPEN_SUBJOURNAL
SQLITE_OPEN_MASTER_JOURNAL
I take this to mean that paged-aligned sector I/O will always be used
for all the DB types. Will there ever be an I/O to a DB file that will
not follow these rules. What about the journal types? Will their I/O
be sector sized and aligned I/O as well?
High marks for abstracting memory allocation and the mutex object. This
is good stuff! The file system abstraction looks very good as well.
Thanks in advance
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------