Fix a memory leak when the auxiliary data of a database structure is used. (CVS 1874)

FossilOrigin-Name: 7ecff04a6153aa200233e6c0846a65e0213c3179
This commit is contained in:
drh
2004-08-01 03:52:17 +00:00
parent feac5f8dbc
commit db2d9a0bbb
5 changed files with 15 additions and 27 deletions
+2 -2
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.24 2004/06/19 00:16:31 drh Exp $
# $Id: attach.test,v 1.25 2004/08/01 03:52:18 drh Exp $
#
set testdir [file dirname $argv0]
@@ -151,7 +151,7 @@ do_test attach-1.20.1 {
DETACH db5;
}
db_list db
} {0 main 1 temp 2 db2 3 db3 4 db4 5 db11 6 db6 7 db7 8 db8 9 db9 10 db10}
} {0 main 1 temp 2 db2 3 db3 4 db4 5 db6 6 db7 7 db8 8 db9 9 db10 10 db11}
integrity_check attach-1.20.2
do_test attach-1.21 {
catchsql {