Simplify the symbol hash table to use only a single key class. Other

changes to improve code coverage. (CVS 5794)

FossilOrigin-Name: ff50a8a7e5a15fac192939ff3206fa18d1c5a6dd
This commit is contained in:
drh
2008-10-10 17:41:28 +00:00
parent adfae6c68b
commit 1b67f3caf2
9 changed files with 66 additions and 195 deletions
+7 -1
View File
@@ -11,7 +11,7 @@
#
# Tests for the lookaside memory allocator.
#
# $Id: lookaside.test,v 1.6 2008/09/30 00:31:38 drh Exp $
# $Id: lookaside.test,v 1.7 2008/10/10 17:41:29 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -77,6 +77,12 @@ do_test lookaside-2.4 {
db cache flush
sqlite3_db_config_lookaside db 0 50 50
} {0} ;# SQLITE_OK
do_test lookaside-2.5 {
sqlite3_db_config_lookaside db 0 -1 50
} {0} ;# SQLITE_OK
do_test lookaside-2.6 {
sqlite3_db_config_lookaside db 0 50 -1
} {0} ;# SQLITE_OK
# sqlite3_db_status() with an invalid verb returns an error.
#
+2 -2
View File
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
# $Id: permutations.test,v 1.33 2008/10/07 15:00:09 danielk1977 Exp $
# $Id: permutations.test,v 1.34 2008/10/10 17:41:30 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -39,7 +39,7 @@ if {$::perm::testmode eq "all" || $::perm::testmode eq ""} {
set ::perm::testmode {
memsubsys1 memsubsys2 singlethread multithread onefile utf16 exclusive
persistent_journal persistent_journal_error no_journal no_journal_error
autovacuum_ioerr no_mutex_try
autovacuum_ioerr no_mutex_try fullmutex
}
}
if {$::perm::testmode eq "targets"} {