mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add SQL scalar function rtreecheck() to the rtree module. For running checks
to ensure the shadow tables used by an rtree virtual table are internally consistent. FossilOrigin-Name: dde0bb3eab1316c3247b1755594527ca70955aab4ad4907190731f7ec092b327
This commit is contained in:
@ -190,3 +190,8 @@ proc rtree_treedump {db zTab} {
|
||||
set d [rtree_depth $db $zTab]
|
||||
rtree_nodetreedump $db $zTab "" $d 1
|
||||
}
|
||||
|
||||
proc do_rtree_integrity_test {tn tbl} {
|
||||
uplevel [list do_execsql_test $tn "SELECT rtreecheck('$tbl')" ok]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user