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

Unified Diff: third_party/sqlite/src/test/bigfile.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/badutf2.test ('k') | third_party/sqlite/src/test/boundary4.tcl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/bigfile.test
diff --git a/third_party/sqlite/src/test/bigfile.test b/third_party/sqlite/src/test/bigfile.test
index 24a92c5c0cc12cf9b97f0f6b94ad512dcbb5b051..52d74edbe60d1f8e631d4f9a05494b4f955e6e4e 100644
--- a/third_party/sqlite/src/test/bigfile.test
+++ b/third_party/sqlite/src/test/bigfile.test
@@ -18,6 +18,11 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
+# Do not use a codec for this file, as the database is manipulated using
+# external methods (the [fake_big_file] and [hexio_write] commands).
+#
+do_not_use_codec
+
# If SQLITE_DISABLE_LFS is defined, omit this file.
ifcapable !lfs {
finish_test
@@ -69,6 +74,7 @@ if {[catch {fake_big_file 4096 [pwd]/test.db} msg]} {
finish_test
return
}
+hexio_write test.db 28 00000000
do_test bigfile-1.2 {
sqlite3 db test.db
@@ -108,6 +114,7 @@ if {[catch {fake_big_file 8192 [pwd]/test.db}]} {
finish_test
return
}
+hexio_write test.db 28 00000000
do_test bigfile-1.5 {
sqlite3 db test.db
@@ -146,6 +153,7 @@ if {[catch {fake_big_file 16384 [pwd]/test.db}]} {
finish_test
return
}
+hexio_write test.db 28 00000000
do_test bigfile-1.10 {
sqlite3 db test.db
« no previous file with comments | « third_party/sqlite/src/test/badutf2.test ('k') | third_party/sqlite/src/test/boundary4.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698