错误代码门户
SQLiteSQLite错误代码

SQLITE_BUSY_SNAPSHOT

busy snapshot

其他表示形式:517

代码 SQLITE_BUSY_SNAPSHOT · SQLite 报告的问题。

SQLITE_BUSY_SNAPSHOT 错误代码是 SQLITE_BUSY 的扩展错误代码,当数据库连接尝试将读取事务提升为写入事务但发现另一个数据库连接已写入数据库并因此使之前的读取无效时,会在 WAL 模式数据库上发生该错误代码。 以下场景说明了如何可能出现 SQLITE_BUSY_SNAPSHOT 错误:

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

The SQLITE_BUSY_SNAPSHOT error code is an extended error code for SQLITE_BUSY that occurs on WAL mode databases when a database connection tries to promote a read transaction into a write transaction but finds that another database connection has already written to the database and thus invalidated prior reads. The following scenario illustrates how an SQLITE_BUSY_SNAPSHOT error might arise:

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。