PRAGMA cell_size_check
The cell_size_check pragma enables or disables additional sanity checking on database b-tree pages as they are initially read from disk.
PRAGMA cell_size_check PRAGMA cell_size_check = boolean;
On the sample database
What PRAGMA cell_size_check returns on the sample database, in SQLite 3.54.1 as built for the browser by sql.js:
| cell_size_check |
|---|
| 0 |
What the SQLite documentation says
The cell_size_check pragma enables or disables additional sanity checking on database b-tree pages as they are initially read from disk. With cell size checking enabled, database corruption is detected earlier and is less likely to "spread". However, there is a small performance hit for doing the extra checks and so cell size checking is turned off by default.
From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.