Hi there !  

I am trying to figure out how to dump an in-memory database to some data 
pointer and back (from a void*data chunk to in-memory). The simplest solution I 
can figure out right now is:

A. save to void*data
1. backup to file
2. read file ==> void*data
3. remove file

B. load from void*data
1. write to file
2. open from file
3. backup to memory
4. remove file

Is there anything simpler that avoids the temp files ?  

Gaspard Bucher

------------
founder, coder
teti sàrl (http://teti.ch)


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

Reply via email to