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

Unified Diff: third_party/sqlite/src/test/pagesize.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/pageropt.test ('k') | third_party/sqlite/src/test/pcache.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/pagesize.test
diff --git a/third_party/sqlite/src/test/pagesize.test b/third_party/sqlite/src/test/pagesize.test
index b676df94922cc1da1818466eb8d969450bf8a8e8..af2c017b72acd81196d8ce157f4970493008fb46 100644
--- a/third_party/sqlite/src/test/pagesize.test
+++ b/third_party/sqlite/src/test/pagesize.test
@@ -188,6 +188,32 @@ foreach PGSZ {512 2048 4096 8192} {
ifcapable {vacuum} {execsql VACUUM}
} {}
integrity_check pagesize-2.$PGSZ.17
+
+ db close
+ file delete -force test.db
+ sqlite3 db test.db
+ do_test pagesize-2.$PGSZ.30 {
+ execsql "
+ CREATE TABLE t1(x);
+ PRAGMA temp.page_size=$PGSZ;
+ CREATE TEMP TABLE t2(y);
+ PRAGMA main.page_size;
+ PRAGMA temp.page_size;
+ "
+ } [list 1024 $PGSZ]
+
+ db close
+ file delete -force test.db
+ sqlite3 db test.db
+ do_test pagesize-2.$PGSZ.40 {
+ execsql "
+ PRAGMA page_size=$PGSZ;
+ CREATE TABLE t1(x);
+ CREATE TEMP TABLE t2(y);
+ PRAGMA main.page_size;
+ PRAGMA temp.page_size;
+ "
+ } [list $PGSZ $PGSZ]
}
finish_test
« no previous file with comments | « third_party/sqlite/src/test/pageropt.test ('k') | third_party/sqlite/src/test/pcache.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698