Re: [sqlite] in-memory database bound to a named buffer

2007-03-30 Thread drh
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 a

Re: [sqlite] in-memory database bound to a named buffer

2007-03-30 Thread Ken
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 datab

[sqlite] in-memory database bound to a named buffer

2007-03-30 Thread Ryan Underwood
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 m