sqlite error database is locked

后端 未结 8 1213
天命终不由人
天命终不由人 2020-12-06 08:00

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

8条回答
  •  孤城傲影
    2020-12-06 08:31

    For one thing, you're not closing the database connection with sqlite3_close() before you open a new connection

提交回复
热议问题