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

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

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « third_party/sqlite/src/test/parser1.test ('k') | third_party/sqlite/src/test/pcache2.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 # 2008 August 29 1 # 2008 August 29
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 #***********************************************************************
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 CREATE TABLE t6(a, b, c); 66 CREATE TABLE t6(a, b, c);
67 CREATE TABLE t7(a, b, c); 67 CREATE TABLE t7(a, b, c);
68 CREATE TABLE t8(a, b, c); 68 CREATE TABLE t8(a, b, c);
69 CREATE TABLE t9(a, b, c); 69 CREATE TABLE t9(a, b, c);
70 } 70 }
71 pcache_stats 71 pcache_stats
72 } {current 10 max 12 min 10 recyclable 0} 72 } {current 10 max 12 min 10 recyclable 0}
73 73
74 do_test pcache-1.5 { 74 do_test pcache-1.5 {
75 sqlite3 db2 test.db 75 sqlite3 db2 test.db
76 execsql "PRAGMA cache_size=10" db2 76 execsql "PRAGMA cache_size; PRAGMA cache_size=10" db2
77 pcache_stats 77 pcache_stats
78 } {current 11 max 22 min 20 recyclable 1} 78 } {current 11 max 22 min 20 recyclable 1}
79 79
80 do_test pcache-1.6.1 { 80 do_test pcache-1.6.1 {
81 execsql { 81 execsql {
82 BEGIN; 82 BEGIN;
83 SELECT * FROM sqlite_master; 83 SELECT * FROM sqlite_master;
84 } db2 84 } db2
85 pcache_stats 85 pcache_stats
86 } {current 11 max 22 min 20 recyclable 0} 86 } {current 11 max 22 min 20 recyclable 0}
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 SELECT * FROM t5 ORDER BY a; SELECT * FROM t5; 173 SELECT * FROM t5 ORDER BY a; SELECT * FROM t5;
174 SELECT * FROM t6 ORDER BY a; SELECT * FROM t6; 174 SELECT * FROM t6 ORDER BY a; SELECT * FROM t6;
175 SELECT * FROM t7 ORDER BY a; SELECT * FROM t7; 175 SELECT * FROM t7 ORDER BY a; SELECT * FROM t7;
176 SELECT * FROM t8 ORDER BY a; SELECT * FROM t8; 176 SELECT * FROM t8 ORDER BY a; SELECT * FROM t8;
177 SELECT * FROM t9 ORDER BY a; SELECT * FROM t9; 177 SELECT * FROM t9 ORDER BY a; SELECT * FROM t9;
178 } 178 }
179 pcache_stats 179 pcache_stats
180 } {current 14 max 15 min 10 recyclable 14} 180 } {current 14 max 15 min 10 recyclable 14}
181 181
182 finish_test 182 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/parser1.test ('k') | third_party/sqlite/src/test/pcache2.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698