Implement sqlite-vfs with pure memory block.

spmemvfs-0.3.tar.gz  



http://code.google.com/p/sphivedb/downloads/list


 
------------------ Original ------------------
From:  "Simon Slavin"<slav...@bigfraud.org>;
Date:  Tue, Jul 19, 2011 10:10 PM
To:  "General Discussion of SQLite Database"<sqlite-users@sqlite.org>; 

Subject:  Re: [sqlite] Loading a database from memory

 

On 19 Jul 2011, at 3:04pm, Pavel Ivanov wrote:

>> So you can copy any block of memory you have a handle for into that, use 
>> SQLite to manipulate the data while it's in memory
> 
> Simon, could you elaborate what you meant by that. To my knowledge you
> can't just copy any block of memory into SQLite and make it treat this
> memory block as database. Did you meant something else?

Apparently I misremembered.  I thought you could use the sqlite3 handle and 
find a pointer to the start of a block of memory the data was stored in.  But 
now I see no way to do this.  Sorry about the misinformation.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to