Class: SQLite::Exceptions::SchemaChangedException

Inherits:
Object
  • Object
show all
Defined in:
ext/sqlite-api.c

Overview

From the SQLite documentation:

“When the database first opened, SQLite reads the database schema into memory and uses that schema to parse new SQL statements. If another process changes the schema, the command currently being processed will abort because the virtual machine code generated assumed the old schema. This is the return code for such cases. Retrying the command usually will clear the problem.”