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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/test/corruptC.test ('k') | third_party/sqlite/src/test/corruptE.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 2009 June 3 1 # 2009 June 3
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 # $Id: corruptD.test,v 1.2 2009/06/05 17:09:12 drh Exp $ 12 # $Id: corruptD.test,v 1.2 2009/06/05 17:09:12 drh Exp $
13 13
14 set testdir [file dirname $argv0] 14 set testdir [file dirname $argv0]
15 source $testdir/tester.tcl 15 source $testdir/tester.tcl
16 16
17 # Do not use a codec for tests in this file, as the database file is
18 # manipulated directly using tcl scripts (using the [hexio_write] command).
19 #
20 do_not_use_codec
21
17 #-------------------------------------------------------------------------- 22 #--------------------------------------------------------------------------
18 # OVERVIEW 23 # OVERVIEW
19 # 24 #
20 # This test file attempts to verify that SQLite does not read past the 25 # This test file attempts to verify that SQLite does not read past the
21 # end of any in-memory buffers as a result of corrupted database page 26 # end of any in-memory buffers as a result of corrupted database page
22 # images. Usually this happens because a field within a database page 27 # images. Usually this happens because a field within a database page
23 # that contains an offset to some other structure within the same page 28 # that contains an offset to some other structure within the same page
24 # is set to too large a value. A database page contains the following 29 # is set to too large a value. A database page contains the following
25 # such fields: 30 # such fields:
26 # 31 #
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 131
127 132
128 #------------------------------------------------------------------------- 133 #-------------------------------------------------------------------------
129 # The following tests, corruptD-1.5.*, focus on the offsets contained 134 # The following tests, corruptD-1.5.*, focus on the offsets contained
130 # in the cell offset array. 135 # in the cell offset array.
131 # 136 #
132 # defragmentPage 137 # defragmentPage
133 # 138 #
134 139
135 finish_test 140 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/corruptC.test ('k') | third_party/sqlite/src/test/corruptE.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698