I have a last probleme before finishing my application. I use SQLITE DataBase.
Everything works perfectly on the simulator, but when i run the app on my Iphone with Dev provisionning profile, i got an error on the sql methods :
I have a method that executes the following code :
if(sqlite3_prepare_v2(database, sqlStatement, -1, &compiledStatement, NULL) == SQLITE_OK)
Unfortunately, this line send SLITE_BUSY.
But the weird thing is that if I execute another method with the same SQLITE part, it works. only this specific method crashes.
I don’t think it is the lock on the database that is the problem, but i’m going crazy trying to figure it out !
Please help !!
It wasn’t a SQLite problem, i was right when i said that it wasn’it possible that the DB was locked.
I juste restarted my iMac and the iPhone and all is allright now.
Thanks everyone !!