sqlite error database is locked

后端 未结 8 1214
天命终不由人
天命终不由人 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:33

    I had the same problem a while ago. I tried copying the database file itself, renamed it to different filename, then checked it - It actually WORKED!

    I am using SQLite3.

    I hope this will also work for you!

提交回复
热议问题