sqlite/ext/repair
drh 6ab91a7a7a Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases
so that they work with DEFENSIVE enabled.

FossilOrigin-Name: 3212733cb6d1a59516d67a86df7c7b1d2456a1b2e5d7080c26b0e87b2609c65d
2018-11-07 02:17:01 +00:00
..
test Add the SQLITE_DEFAULT_DEFENSIVE compile-time option. Fix up test cases 2018-11-07 02:17:01 +00:00
checkfreelist.c Fix harmless compiler warnings in sqlite3_checker.exe 2017-11-01 19:58:25 +00:00
checkindex.c Fix handling of partial indexes in checkindex.c (sqlite3_checker). 2017-11-07 19:02:00 +00:00
README.md Create the new ext/repair folder and move checkfreelist.c there. Remove 2017-10-12 19:50:28 +00:00
sqlite3_checker.c.in Make sure the JSON1 extension is available to sqlite3_checker.exe 2017-11-01 19:50:11 +00:00
sqlite3_checker.tcl In sqlite3_checker, wrap the call to "SELECT checkfreelist()" in a 2018-03-02 20:00:42 +00:00

This folder contains extensions and utility programs intended to analyze live database files, detect problems, and possibly fix them.

As SQLite is being used on larger and larger databases, database sizes are growing into the terabyte range. At that size, hardware malfunctions and/or cosmic rays will occasionally corrupt a database file. Detecting problems and fixing errors a terabyte-sized databases can take hours or days, and it is undesirable to take applications that depend on the databases off-line for such a long time. The utilities in the folder are intended to provide mechanisms for detecting and fixing problems in large databases while those databases are in active use.

The utilities and extensions in this folder are experimental and under active development at the time of this writing (2017-10-12). If and when they stabilize, this README will be updated to reflect that fact.