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

Unified Diff: third_party/sqlite/test/format4.test

Issue 3108030: Move bundled copy of sqlite one level deeper to better separate it... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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/test/fkey1.test ('k') | third_party/sqlite/test/fts.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/test/format4.test
===================================================================
--- third_party/sqlite/test/format4.test (revision 56608)
+++ third_party/sqlite/test/format4.test (working copy)
@@ -1,65 +0,0 @@
-# 2005 December 29
-#
-# The author disclaims copyright to this source code. In place of
-# a legal notice, here is a blessing:
-#
-# May you do good and not evil.
-# May you find forgiveness for yourself and forgive others.
-# May you share freely, never taking more than you give.
-#
-#***********************************************************************
-# This file implements regression tests for SQLite library.
-#
-# This file implements tests to verify that the new serial_type
-# values of 8 (integer 0) and 9 (integer 1) work correctly.
-#
-
-set testdir [file dirname $argv0]
-source $testdir/tester.tcl
-
-db eval {PRAGMA legacy_file_format=OFF}
-
-# The size of the database depends on whether or not autovacuum
-# is enabled.
-#
-ifcapable autovacuum {
- if {[db one {PRAGMA auto_vacuum}]} {
- set small 3072
- set large 5120
- } else {
- set small 2048
- set large 4096
- }
-} else {
- set small 2048
- set large 4096
-}
-
-do_test format4-1.1 {
- execsql {
- CREATE TABLE t1(x0,x1,x2,x3,x4,x5,x6,x7,x8,x9);
- INSERT INTO t1 VALUES(0,0,0,0,0,0,0,0,0,0);
- INSERT INTO t1 SELECT * FROM t1;
- INSERT INTO t1 SELECT * FROM t1;
- INSERT INTO t1 SELECT * FROM t1;
- INSERT INTO t1 SELECT * FROM t1;
- INSERT INTO t1 SELECT * FROM t1;
- INSERT INTO t1 SELECT * FROM t1;
- }
- file size test.db
-} $small
-do_test format4-1.2 {
- execsql {
- UPDATE t1 SET x0=1, x1=1, x2=1, x3=1, x4=1, x5=1, x6=1, x7=1, x8=1, x9=1
- }
- file size test.db
-} $small
-do_test format4-1.3 {
- execsql {
- UPDATE t1 SET x0=2, x1=2, x2=2, x3=2, x4=2, x5=2, x6=2, x7=2, x8=2, x9=2
- }
- file size test.db
-} $large
-
-
-finish_test
« no previous file with comments | « third_party/sqlite/test/fkey1.test ('k') | third_party/sqlite/test/fts.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698