1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

The prior fix of ticket #360 was incorrect and caused a memory leak. This

check-in plugs the memory leak and correctly fixes ticket #360. (CVS 1040)

FossilOrigin-Name: fc490f677b89e623b41f9e7f5f3bade9b981562c
This commit is contained in:
drh
2003-06-29 20:25:08 +00:00
parent d6ae597393
commit dc339ee29c
5 changed files with 47 additions and 11 deletions

View File

@ -13,7 +13,7 @@
# This file implements tests for miscellanous features that were
# left out of other test files.
#
# $Id: misc2.test,v 1.2 2003/06/24 10:39:46 drh Exp $
# $Id: misc2.test,v 1.3 2003/06/29 20:25:09 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -29,6 +29,11 @@ do_test misc2-1.1 {
END;
INSERT INTO foo(bar) VALUES (1);
}
} {0 {}}
do_test misc2-1.2 {
catchsql {
INSERT INTO foo(bar) VALUES (111);
}
} {1 aiieee}
# Make sure ROWID works on a view and a subquery. Ticket #364