SQLite异常:SQLite忙 [英] SQLite Exception: SQLite Busy

查看:201
本文介绍了SQLite异常:SQLite忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以为此错误提供任何输入。我试图使用Objective C插入到表中。



当我这样做时,我收到一个错误SQLite Busy。为什么会发生这种情况?

解决方案

如果我对了,忙意味着你无法获得锁。似乎有一个进程(或线程等)对数据库有锁。



SQLite版本3中的文件锁定和并发性


Can anyone provide any input on this error. I am trying to insert into table using Objective C.

While I am doing this, I am getting an error SQLite Busy. Why this is happening?

解决方案

If I get it right, "busy" means that you cannot obtain a lock. Seems that some another process (or thread, etc) has a lock on a database.

File Locking And Concurrency In SQLite Version 3

这篇关于SQLite异常:SQLite忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆