short answer is no. The memory structures are not identical to disk structures.
Ryan Underwood <[EMAIL PROTECTED]> wrote: Is it possible to bind an in-memory sqlite database (in read-only mode, naturally) to an existing named memory buffer that contains exactly the contents of a sqlite database file? What I want to do is maintain a database as usual, but then take an occasional snapshot, bin2c it and include it in my (platform/OS-independent) project. I looked for functions that would take a mmap'd file (which would be equivalent), but didn't see anything... -- Ryan Underwood, ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------