Fix a bug whereby sqlite3_prepare_v2() could return both an out-of-memory error and a valid statement handle. (CVS 3858)

FossilOrigin-Name: 8795d11c3c5bb39d34bc5194621ce97097a320e7
This commit is contained in:
danielk1977
2007-04-19 11:09:01 +00:00
parent e960153ba2
commit 7e29e9561c
6 changed files with 41 additions and 22 deletions
+1 -2
View File
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
# $Id: vtab_err.test,v 1.4 2007/01/02 18:41:58 drh Exp $
# $Id: vtab_err.test,v 1.5 2007/04/19 11:09:02 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -146,7 +146,6 @@ do_ioerr_test vtab_err-1 -tclprep {
COMMIT;
}
do_malloc_test vtab_err-2 -tclprep {
register_echo_module [sqlite3_connection_pointer db]
} -sqlbody {