Class: SQLite::Exceptions::CorruptException

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

Overview

From the SQLite documentation:

“This value is returned if SQLite detects that the database it is working on has become corrupted. Corruption might occur due to a rogue process writing to the database file or it might happen due to an perviously (sic) undetected logic error in of SQLite. This value is also returned if a disk I/O error occurs in such a way that SQLite is forced to leave the database file in a corrupted state. The latter should only happen due to a hardware or operating system malfunction.”