SQLITE_SCHEMA
SQLITE_SCHEMA is SQLite result code 17.
| Result code | 17 |
|---|---|
| Name | SQLITE_SCHEMA |
| Primary code | SQLITE_SCHEMA |
What it means
The SQLITE_SCHEMA result code indicates that the database schema has changed. This result code can be returned from sqlite3_step() for a prepared statement that was generated using sqlite3_prepare() or sqlite3_prepare16(). If the database schema was changed by some other process in between the time that the statement was prepared and the time the statement was run, this error can result.
If a prepared statement is generated from sqlite3_prepare_v2() then the statement is automatically re-prepared if the schema changes, up to SQLITE_MAX_SCHEMA_RETRY times (default: 50). The sqlite3_step() interface will only return SQLITE_SCHEMA back to the application if the failure persists after this many retries.
Source: SQLite Result and Error Codes