I am have a sqlite database in the iPhone application I am writing. I get an error with following code that I am running in a background thread. In the background thread, I
For one thing, you're not closing the database connection with sqlite3_close() before you open a new connection