mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Modify an assert() statement to fix #3473. No other code changes. (CVS 5856)
FossilOrigin-Name: aca6b260c0dd1a1515b70f3567a0653b6bcdeea2
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
# to see what happens in the library if a malloc were to really fail
|
||||
# due to an out-of-memory situation.
|
||||
#
|
||||
# $Id: malloc.test,v 1.68 2008/10/06 05:32:19 danielk1977 Exp $
|
||||
# $Id: malloc.test,v 1.69 2008/11/03 09:39:45 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -671,6 +671,12 @@ do_malloc_test 28 -sqlprep {
|
||||
SELECT * FROM v1;
|
||||
}
|
||||
|
||||
do_malloc_test 29 -sqlprep {
|
||||
CREATE TABLE t1(a TEXT, b TEXT);
|
||||
} -sqlbody {
|
||||
INSERT INTO t1 VALUES(1, -234);
|
||||
}
|
||||
|
||||
# Ensure that no file descriptors were leaked.
|
||||
do_test malloc-99.X {
|
||||
catch {db close}
|
||||
|
Reference in New Issue
Block a user