On 6 Apr 2016, at 2:59am, Rail Jon Rogut <sqlite3 at platinumsamples.com> wrote:

> Oh -- and the database opens fine -- it only fails when I try and call 
> sqlite3_prepare_v2() to check if a table exists in the database 

The sqlite3_open() routines don't actually do any file access at all (most of 
the time).  They just set up some structures in memory.  The file is actually 
opened by the first SQLite call which needs to read or write them.  So that's 
when you get the access errors.

I consider this a bug but have been told that there's no appropriate way to fix 
it until SQLite4 comes along.

Simon.

Reply via email to