Hi,

  I am new to sqlite. I just downloaded the lates version of sqlite and was
playing with various options.

I want to link sqlite code with my application which is single threaded.
So, I keep SQLITE_THREADSAFE=0.

I use sqlite3_open_v2() to open the database. My question is what "vfs"
(fourth argument) should I pass ?

Is it safe to pass "unix-nolock" as the application is single threaded ?

In case, I pass "unix-dotfile", the code starts creating a lock
"directory". If I have kept SQLITE_THREADSAFE=0, why the sqlite code
creates "lock" file ? I mean is there any need to create a "lock" file if
only single thread is using the database ?


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

Reply via email to