Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-09 Thread Norman Dunbar
Are you on Windows? Can you install a compiler? If so then there's gcc for windows at http://tdm-gcc.tdragon.net/download or what used to be Borland C++, is now Embarcadero and much updated to version 10 at https://www.embarcadero.com/free-tools/ccompiler/start-for-free - you will need to regi

Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-09 Thread Martin Lowry
Hi Richard, thanks for the quick reply. Unfortunately compiling the library myself is not an option since I have no C/C++ compiler available. Looks like I'll have to live with my workaround. Cheers, Martin On 09/06/2017 12:40, Richard Hipp wrote: > On 6/9/17, Martin Lowry wrote: >> In versio

Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-09 Thread Richard Hipp
On 6/9/17, Martin Lowry wrote: > In version 3.11.1 sqlite3_table_column_metadata > failed with a non-zero exit code which was easier to deal with. If you compile with -DSQLITE_ENABLE_API_ARMOR, then invoking sqlite3_table_column_metadata() with a NULL zTableName value will return SQLITE_MISUSE -

Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-09 Thread Martin Lowry
Hi All, Problem now understood. (BTW same problem occurs in 3.19.3) I made a descendant of TSQLite3Connectionto allow my application to define field value types by providing an OnFieldDefInit handler. In preparation for calling that handler I call sqlite3_column_database_name, sqlite3_column_

Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-08 Thread Stephen Chrzanowski
What Richard asks, and, can you open the database from the command line using sqlite3.exe? On Thu, Jun 8, 2017 at 1:20 PM, Richard Hipp wrote: > Can you get us a backtrace? > > On 6/8/17, Martin Lowry wrote: > > Hi All, > > > > I've been using SQLite3 for several years but recently installed ve

Re: [sqlite] Verison 3.19.2 no longer opens my database

2017-06-08 Thread Richard Hipp
Can you get us a backtrace? On 6/8/17, Martin Lowry wrote: > Hi All, > > I've been using SQLite3 for several years but recently installed version > 3.19.2 and now my application fails to open the database. I was using > 3.11.1 and had no problems. Now no matter how I try to open the DB my > app