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

Unified Diff: third_party/sqlite/src/test/corrupt7.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/corrupt6.test ('k') | third_party/sqlite/src/test/corrupt8.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/corrupt7.test
diff --git a/third_party/sqlite/src/test/corrupt7.test b/third_party/sqlite/src/test/corrupt7.test
index 8f8d437a62154ae8f24359cd6dcd3c789227dce3..ad566560f7ff811e9979eba0f2e8149034d1468c 100644
--- a/third_party/sqlite/src/test/corrupt7.test
+++ b/third_party/sqlite/src/test/corrupt7.test
@@ -19,6 +19,11 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
+# Do not use a codec for tests in this file, as the database file is
+# manipulated directly using tcl scripts (using the [hexio_write] command).
+#
+do_not_use_codec
+
# We must have the page_size pragma for these tests to work.
#
ifcapable !pager_pragmas {
@@ -89,7 +94,7 @@ Corruption detected in cell 15 on page 2}}
sqlite3 db test.db
db eval {PRAGMA integrity_check(1)}
} {{*** in database main ***
-Corruption detected in cell 15 on page 2}}
+On tree page 2 cell 15: Rowid 0 out of order (previous was 15)}}
}
# The code path that was causing the buffer overrun that this test
« no previous file with comments | « third_party/sqlite/src/test/corrupt6.test ('k') | third_party/sqlite/src/test/corrupt8.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698