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:
+2
-2
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user