6 Mar 2010 00:24
Re: cannot access the sqlite db
Adrian Klaver wrote: > One of Sqlites quirks is it will spawn empty dbs in any > path you give it. That depends on the API used. http://sqlite.org/c3ref/open.html sqlite3_open always opens the database read/write and will create it if necessary. sqlite3_open_v2 lets you specify read-only, creation, mutex and caching behaviour. It was added in late 2007. pysqlite remains backwards compatible with older SQLite versions hence constrained to the older api behaviour. APSW gives you the newer API usage and behaviour. Roger
RSS Feed