mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805)
FossilOrigin-Name: 78f10ca0a6a02e9e8e6811489841a19e213f3afb
This commit is contained in:
@ -9,7 +9,11 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: malloc3.test,v 1.2 2005/12/06 17:48:32 danielk1977 Exp $
|
||||
# This file contains tests to ensure that the library handles malloc() failures
|
||||
# correctly. The emphasis of these tests are the _prepare(), _step() and
|
||||
# _finalize() calls.
|
||||
#
|
||||
# $Id: malloc3.test,v 1.3 2005/12/07 06:27:45 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -453,7 +457,7 @@ TEST 29 {
|
||||
} {a b c a b c 1 2 3 1 2 3}
|
||||
}
|
||||
|
||||
# Test a simple multi-file transaction
|
||||
# Test a simple multi-file transaction
|
||||
#
|
||||
file delete -force test2.db
|
||||
SQL {ATTACH 'test2.db' AS aux;}
|
||||
|
Reference in New Issue
Block a user