On 4 Oct 2016, at 3:05pm, Simon Slavin <slav...@bigfraud.org> wrote:

> No.  You have no locking.  You might copy the beginning of the file before a 
> transaction and the end of the file after it, meaning that pointers at one 
> part of the file point to things which no longer exist.

I'm sorry.  I misunderstood your question and thought you were just duplicating 
the file using OS calls.  The SQLite backup API takes care of all necessary 
locking and consistency problems for you. You should be fine.

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

Reply via email to