1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add the xIntegrity method to the sqlite3_module object. Implement this

method in RTREE, FTS3/4, and FTS5 so that "PRAGMA integrity_check" also
verifies the correctness of shadow tables associated with those virtual
tables.

FossilOrigin-Name: 17bede8cdefd968210dd8a5a2617acbe12ba2c99fdd5e88c5def8665e7bec2d7
This commit is contained in:
drh
2023-09-06 12:52:00 +00:00
parent 5a05a68315
commit 961c2a9f36
24 changed files with 223 additions and 55 deletions

View File

@ -192,6 +192,6 @@ proc rtree_treedump {db zTab} {
}
proc do_rtree_integrity_test {tn tbl} {
uplevel [list do_execsql_test $tn "SELECT rtreecheck('$tbl')" ok]
uplevel [list do_execsql_test $tn.1 "SELECT rtreecheck('$tbl')" ok]
uplevel [list do_execsql_test $tn.2 "PRAGMA integrity_check" ok]
}