Fix a bug in the new misc6.test script. Fix error messages when not
compiled with memory debugging enabled. Ticket #1957. (CVS 3392) FossilOrigin-Name: 9fb92024bf5058bdc32066a0d07b93da575779fa
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# focus of this script is testing the ATTACH statement and
|
||||
# specifically out-of-memory conditions within that command.
|
||||
#
|
||||
# $Id: attachmalloc.test,v 1.2 2005/08/21 18:21:50 drh Exp $
|
||||
# $Id: attachmalloc.test,v 1.3 2006/09/04 18:54:14 drh Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@@ -21,7 +21,7 @@ source $testdir/tester.tcl
|
||||
# Only run these tests if memory debugging is turned on.
|
||||
#
|
||||
if {[info command sqlite_malloc_stat]==""} {
|
||||
puts "Skipping malloc tests: not compiled with -DSQLITE_DEBUG..."
|
||||
puts "Skipping malloc tests: not compiled with -DSQLITE_MEMDEBUG=1"
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user