错误代码门户
SQLiteSQLite错误代码

SQLITE_ERROR_SNAPSHOT

error snapshot

其他表示形式:769

代码 SQLITE_ERROR_SNAPSHOT · SQLite 报告的问题。

尝试使用 sqlite3_snapshot_open() 接口在数据库的历史版本上启动读取事务时,可能会返回 SQLITE_ERROR_SNAPSHOT 结果代码。如果历史快照不再可用,则读取事务将失败并返回 SQLITE_ERROR_SNAPSHOT。仅当使用 -DSQLITE_ENABLE_SNAPSHOT 编译 SQLite 时,才会出现此错误代码。

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

The SQLITE_ERROR_SNAPSHOT result code might be returned when attempting to start a read transaction on an historical version of the database by using the sqlite3_snapshot_open() interface. If the historical snapshot is no longer available, then the read transaction will fail with the SQLITE_ERROR_SNAPSHOT. This error code is only possible if SQLite is compiled with -DSQLITE_ENABLE_SNAPSHOT.

故障排除与诊断链接

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

此条目仅链接至官方代码参考文档。尚未验证单独的故障排除步骤。