Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/sqlite/src/test/tkt3762.test

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 2009 March 28 1 # 2009 March 28
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
11 # 11 #
12 # Ticket #3762: Make sure that an incremental vacuum that reduces the 12 # Ticket #3762: Make sure that an incremental vacuum that reduces the
13 # size of the database file such that a pointer-map page is elemented 13 # size of the database file such that if a pointer-map page is eliminated
14 # can be correctly rolled back. 14 # it can be correctly rolled back.
15 # 15 #
16 # That ticket #3762 has been fixed has already been verified by the 16 # That ticket #3762 has been fixed has already been verified by the
17 # savepoint6.test test script. But this script is simplier and a 17 # savepoint6.test test script. But this script is simplier and a
18 # redundant test never hurts. 18 # redundant test never hurts.
19 # 19 #
20 # $Id: tkt3762.test,v 1.1 2009/03/31 00:50:36 drh Exp $ 20 # $Id: tkt3762.test,v 1.1 2009/03/31 00:50:36 drh Exp $
21 21
22 set testdir [file dirname $argv0] 22 set testdir [file dirname $argv0]
23 source $testdir/tester.tcl 23 source $testdir/tester.tcl
24 24
(...skipping 20 matching lines...) Expand all
45 PRAGMA incremental_vacuum(10); 45 PRAGMA incremental_vacuum(10);
46 UPDATE t1 SET x=zeroblob(900) WHERE rowid BETWEEN 100 AND 110; 46 UPDATE t1 SET x=zeroblob(900) WHERE rowid BETWEEN 100 AND 110;
47 INSERT INTO t1 VALUES(zeroblob(39000)); 47 INSERT INTO t1 VALUES(zeroblob(39000));
48 SELECT count(*) FROM t1; 48 SELECT count(*) FROM t1;
49 ROLLBACK; 49 ROLLBACK;
50 } 50 }
51 db eval {PRAGMA integrity_check} 51 db eval {PRAGMA integrity_check}
52 } {ok} 52 } {ok}
53 53
54 finish_test 54 finish_test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698