Re: [sqlite] Database open problem

2008-04-24 Thread John Stanton
In your second case you have the wrong pathname for your database file and Sqlite is creating an empty one at whatever path you actually specified. Yang WenYuan wrote: > Hi, > > There is a very strange problem when I play with the sqlite-ce database. > > I put the database file and my

[sqlite] Database open problem

2008-04-24 Thread Yang WenYuan
Hi, There is a very strange problem when I play with the sqlite-ce database. I put the database file and my application program together in the same folder. I call sqlite3_open(), the database can be opened properly. I call sqlite3_step(), it return SQLITE_ROW, that means it found the record