On Mon, Sep 2, 2013 at 10:52 PM, Richard Hipp <d...@sqlite.org> wrote:

> sqlite3_open() and sqlite3_open_v2() defer the actual opening of the
> database file until you do something with the database.  This is to give
> you the opportunity to issue PRAGMA statements that might influence the
> opening process.
>

A potentially useful addition for such cases might be:

#define SQLITE_OPEN_IMMEDIATE   0x00100000  /* Ok for sqlite3_open_v2() */

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to