Rename the ext/misc/analyze.c extension to ext/misc/diskused.c, to avoid

confusion with the src/analyze.c file.  The function is now called
"diskused(X)" instead of "analyze(X)".  The CLI command is renamed
from ".dbstat" to ".diskused".

FossilOrigin-Name: c7839f7a1749b38f8a36c06d93a7b59095e91ce753e8dd020de273ca8f73a239
This commit is contained in:
drh
2026-05-29 14:57:38 +00:00
parent 991cbd78b3
commit 3d006d0d00
8 changed files with 177 additions and 168 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ if {[catch {db eval { SELECT * FROM dbstat }} msg]==0} {
}
do_test 2.1 {
catchcmd test.db "SELECT length( analyze('main') ) > 1000"
catchcmd test.db "SELECT length( diskused('main') ) > 1000"
} {0 1}
do_execsql_test 2.2 {
@@ -68,7 +68,7 @@ if {[catch {db eval { SELECT * FROM dbstat }} msg]==0} {
}
do_test 2.3 {
catchcmd test.db "SELECT length( analyze('main') ) > 1000"
catchcmd test.db "SELECT length( diskused('main') ) > 1000"
} {0 1}
}