Re: [sqlite] database always locked

2008-05-05 Thread Dennis Cote
[EMAIL PROTECTED] wrote: > I use a c++ program to > open a connection to my database with no issues, but when trying to > exec any sql statements after that, i get SQLITE_BUSY (i.e. database > is locked). > > Even if I change the sql statement, I always get SQLITE_BUSY. This is > frustrat

Re: [sqlite] database always locked

2008-05-04 Thread John Stanton
You define a callback in your CREATE statement. Why? Where is it? [EMAIL PROTECTED] wrote: > I'm a beginning sqlite user (v3.5.8 for Linux). I use a c++ program to > open a connection to my database with no issues, but when trying to > exec any sql statements after that, i get SQLITE_BUSY (i

[sqlite] database always locked

2008-05-04 Thread macarey
I'm a beginning sqlite user (v3.5.8 for Linux). I use a c++ program to open a connection to my database with no issues, but when trying to exec any sql statements after that, i get SQLITE_BUSY (i.e. database is locked). Here is the code I use: int main() { sqlite3 *db; int ret; // Retu