Skip to main content

SQLITE_OPEN_NEWER_FORMAT

Constant SQLITE_OPEN_NEWER_FORMAT 

Source
pub const SQLITE_OPEN_NEWER_FORMAT: i32 = _; // 32_526i32
Expand description

Extended result code for a refused open due to a newer on-disk .fsqlite format version (rollback-safety handshake, bd-yaomh.6).

FrankenSQLite-private extended code built on the SQLITE_CANTOPEN (14) base, following SQLite’s extended = (ext_num << 8) | base convention: 14 | (0x7F << 8) = 32526. The high private ext_num (0x7F) sits far above stock SQLite’s SQLITE_CANTOPEN_* extended codes (max 6), so it can never collide with them. Returned by FrankenError::extended_error_code for FrankenError::NewerFormat, whose primary code is ErrorCode::CantOpen.