mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-27 20:41:58 +03:00
Fixes to the test suite (no code changes) so that quick.test runs with OMIT_ATTACH builds. #2706. (CVS 4480)
FossilOrigin-Name: 07c00fffe50e8380748f7ae02328531a75d64610
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
#
|
||||
#***********************************************************************
|
||||
#
|
||||
# $Id: mallocD.test,v 1.3 2007/09/03 17:02:50 drh Exp $
|
||||
# $Id: mallocD.test,v 1.4 2007/10/09 08:29:33 danielk1977 Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -48,12 +48,14 @@ do_malloc_test mallocD-3 -sqlprep $PREP -sqlbody {
|
||||
COMMIT;
|
||||
}
|
||||
|
||||
do_malloc_test mallocD-4 -sqlprep $PREP -sqlbody {
|
||||
ATTACH 'test2.db' AS aux;
|
||||
BEGIN;
|
||||
CREATE TABLE aux.def(d, e, f);
|
||||
INSERT INTO abc VALUES(4, 5, 6);
|
||||
COMMIT;
|
||||
ifcapable attach {
|
||||
do_malloc_test mallocD-4 -sqlprep $PREP -sqlbody {
|
||||
ATTACH 'test2.db' AS aux;
|
||||
BEGIN;
|
||||
CREATE TABLE aux.def(d, e, f);
|
||||
INSERT INTO abc VALUES(4, 5, 6);
|
||||
COMMIT;
|
||||
}
|
||||
}
|
||||
|
||||
sqlite3_simulate_device -char {}
|
||||
|
Reference in New Issue
Block a user