Maybe you shall open in sqlite3_open a temporary file as a database
file? And move it to destination in case of success

WBR,
Denis
-------------------------------


My requirements are 
> database file must be removed from disk if any error while 
> creating/copying tables, records or indices
> other application or other instance of same app must not be able to
access
> the database, till 
> database is not ready with necessary minimum tables and records. 

So to avoid other app accessing, I thought of creating memory db. Rohit
-- 

Reply via email to