ATTACH and DETACH cause prepared statements to expire.

sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265)

FossilOrigin-Name: 6c631b86e5e166f650d3f7d53c773aa859391c2b
This commit is contained in:
drh
2005-01-23 13:14:55 +00:00
parent 32554c10d0
commit 178286b5df
5 changed files with 21 additions and 19 deletions
+2 -1
View File
@@ -12,7 +12,7 @@
# focus of this script is testing the ATTACH and DETACH commands
# and related functionality.
#
# $Id: attach.test,v 1.35 2005/01/21 15:52:33 drh Exp $
# $Id: attach.test,v 1.36 2005/01/23 13:14:55 drh Exp $
#
set testdir [file dirname $argv0]
@@ -360,6 +360,7 @@ do_test attach-3.4 {
# prevent test2.db from being read by db2.
do_test attach-3.5 {
execsql {SELECT * FROM t2}
btree_breakpoint
catchsql {
SELECT * FROM t2;
} db2;