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

Unified Diff: third_party/sqlite/sqlite-src-3080704/test/tkt3918.test

Issue 2363173002: [sqlite] Remove obsolete reference version 3.8.7.4. (Closed)
Patch Set: Created 4 years, 3 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
Index: third_party/sqlite/sqlite-src-3080704/test/tkt3918.test
diff --git a/third_party/sqlite/sqlite-src-3080704/test/tkt3918.test b/third_party/sqlite/sqlite-src-3080704/test/tkt3918.test
deleted file mode 100644
index e20ee152fc17a16334b644a9bd8321f08b132b91..0000000000000000000000000000000000000000
--- a/third_party/sqlite/sqlite-src-3080704/test/tkt3918.test
+++ /dev/null
@@ -1,59 +0,0 @@
-# 2009 June 17
-#
-# 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.
-#
-#***********************************************************************
-#
-# $Id: tkt3918.test,v 1.1 2009/06/17 11:13:28 danielk1977 Exp $
-
-set testdir [file dirname $argv0]
-source $testdir/tester.tcl
-
-do_test tkt3918.1 {
- execsql {
- PRAGMA page_size = 1024;
- PRAGMA auto_vacuum = incremental;
- CREATE TABLE t1(i, x);
- }
-} {}
-do_test tkt3918.2 {
- execsql {
- INSERT INTO t1 VALUES(1, randstr(1000,1000));
- INSERT INTO t1 VALUES(2, zeroblob(248*1020 + 100));
- INSERT INTO t1 VALUES(3, zeroblob(2*1020 + 100));
- }
-} {}
-
-# This set of statements sets up the free list so that the
-# first free-list trunk page contains only a single leaf.
-# The leaf page is also the last page in the database. The
-# second free-list trunk page contains, amongst other things,
-# page number 4.
-do_test tkt3918.3 {
- execsql {
- DELETE FROM t1 WHERE i = 2;
- DELETE FROM t1 WHERE i = 1;
- DELETE FROM t1 WHERE i = 3;
- }
-} {}
-
-# Incrementally vacuum the database to reduce its size by a single
-# page. This will remove the single leaf from the first page in
-# the linked list of free-list trunk pages.
-do_test tkt3918.4 {
- execsql { PRAGMA incremental_vacuum = 1 }
-} {}
-
-# Create another table. This operation will attempt to extract
-# page 4 from the database free-list. Bug 3918 caused sqlite to
-# incorrectly report corruption here.
-do_test tkt3918.5 {
- execsql { CREATE TABLE t2(a, b) }
-} {}
-
-finish_test
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/tkt3911.test ('k') | third_party/sqlite/sqlite-src-3080704/test/tkt3922.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698