Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在雪豹 10.6 中编程。我的应用程序成功打开了本地存储的数据库,但是当它尝试插入数据库时,我继续收到“磁盘 I/O 错误”。任何人对可能导致这种情况的原因有任何想法吗?
谢谢杨
来自sqlite.org:
SQLITE_IOERR 如果操作系统通知 SQLite 它无法执行某些磁盘 I/O 操作,则返回此值。这可能意味着磁盘上没有剩余空间。
SQLITE_IOERR
如果操作系统通知 SQLite 它无法执行某些磁盘 I/O 操作,则返回此值。这可能意味着磁盘上没有剩余空间。
这可能是原因之一。另一个可能是权限不足(也许 db 文件被写保护?)。