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

Force the corruptC.test script to use file format 1. (CVS 5930)

FossilOrigin-Name: deadc2548d1e43cbbfe3af049cc5f59ee55bda46
This commit is contained in:
drh
2008-11-19 18:43:07 +00:00
parent 6468ad04e4
commit 1e9db16c55
3 changed files with 10 additions and 9 deletions

View File

@ -15,7 +15,7 @@
# data base file, then tests that single byte corruptions in
# increasingly larger quantities are handled gracefully.
#
# $Id: corruptC.test,v 1.9 2008/11/13 18:29:51 shane Exp $
# $Id: corruptC.test,v 1.10 2008/11/19 18:43:07 drh Exp $
catch {file delete -force test.db test.db-journal test.bu}
@ -27,6 +27,7 @@ source $testdir/tester.tcl
do_test corruptC-1.1 {
execsql {
PRAGMA auto_vacuum = 0;
PRAGMA legacy_file_format=1;
BEGIN;
CREATE TABLE t1(x,y);
INSERT INTO t1 VALUES(1,1);