Re: [sqlite] database is locked error

2007-04-28 Thread T
Following up an old thread: The SQLite sources include an (Apple-supplied) patch to work around the problem. Recompile with -DSQLITE_ENABLE_LOCKING_STYLE=1 We are working toward turning on this patch by default, but we are not quite there yet. I compiled and ran SQLite 3.3.17 and got

[sqlite] sqlite and borland c++ builder

2007-04-28 Thread Jonathan Kahn
This is my first post and it is out of desperation. I am using Borland c++ builder with Borland developer studio 2006 I can not for the life of me get anything sqlite functioning properly with this. I have relentlessly searched google as well as the mailing list and tried any information I have

Re: [sqlite] sqlite and borland c++ builder

2007-04-28 Thread Joe Wilson
> When I try to use the header I get errors > > [C++ Error] sqlite3.h(1778): E2232 Constant member > 'sqlite3_index_info::nConstraint' in class without constructors It appears it is trying to compile the sqlite header file as if it were C++. Lemme guess - you're using the almalgomated

Re: [sqlite] sqlite and borland c++ builder

2007-04-28 Thread Joe Wilson
I wrote too quickly - sqlite3.h correctly uses __cplusplus for extern "C". But the almalgomated sqlite3.c cannot be compiled from a C++ compiler for the reasons described below. --- Joe Wilson <[EMAIL PROTECTED]> wrote: > > When I try to use the header I get errors > > > > [C++ Error]