Re: [sqlite] How can I test test_onefile.c?

2014-06-04 Thread Luca Sturaro
Hi, You can test it in different way. Some help can be found directly inside (Luke, use the source :-)) test_vfstrace.c or in test_demovfs.c. Anyway, High level testing: 1. Compile and link your own vfs implementation with shell.c sqlite3.c and also with test_vfstrace.c provided here:

Re: [sqlite] Questions regarding using test_onefile as VFS

2014-05-28 Thread Luca Sturaro
Hi, no you have to compile your vfs with sqlite3 amalgamation and its shell in order to use it. After compiling and linking, you will be able to run your vfs. Remember to register your vfs in order to have it available. Hope this helps, Regards, Luca Il 28/mag/2014 14:41 "김병준"

[sqlite] dump command in shell using test_demovfs

2013-07-10 Thread Luca Sturaro
Hi, I'm trying to create a VFS for SQLite 3.7.17 porting. I started from testdemo_vfs.c using it first under linux compiling and link it (-DSQLITE_THREADSAFE=0 at compile time) Using this VFS (the behavior is the same on my embedded platform and under linux) I can create and access a db and