Enhance the performance of auto-vacuum databases by reducing the number of pointer-map entries written during tree balancing. Also fix bugs in balance_quick(). (CVS 2216)

FossilOrigin-Name: 0ae29538ccccfc237904cbcfb4507074db0f5905
This commit is contained in:
danielk1977
2005-01-15 12:45:51 +00:00
parent 018d1a4929
commit ac11ee6766
6 changed files with 182 additions and 52 deletions
+2 -3
View File
@@ -15,7 +15,7 @@
# The tests in this file use special facilities that are only
# available in the SQLite test fixture.
#
# $Id: autovacuum_ioerr2.test,v 1.1 2005/01/11 10:25:07 danielk1977 Exp $
# $Id: autovacuum_ioerr2.test,v 1.2 2005/01/15 12:45:51 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -77,8 +77,7 @@ for {set n 1} {$go} {incr n} {
}
}
execsql COMMIT
expr [file size test.db]/1024
} {24}
} {}
do_test autovacuum-ioerr2-2.$n.2 [subst {
set ::sqlite_io_error_pending $n
}] $n