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

Unified Diff: third_party/sqlite/src/test/pagesize.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/oserror.test ('k') | third_party/sqlite/src/test/parser1.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 0eebbbb7c9a9dc5e21d2572666d6df9062a5a574..88005300124d71f120b0cbe678c22dcbd237fbd6 100644
--- a/third_party/sqlite/src/test/pagesize.test
+++ b/third_party/sqlite/src/test/pagesize.test
@@ -216,4 +216,22 @@ foreach PGSZ {512 2048 4096 8192} {
} [list $PGSZ $PGSZ]
}
+reset_db
+do_execsql_test pagesize-3.1 {
+ BEGIN;
+ SELECT * FROM sqlite_master;
+ PRAGMA page_size=2048;
+ PRAGMA main.page_size;
+} {1024}
+do_execsql_test pagesize-3.2 {
+ CREATE TABLE t1(x);
+ COMMIT;
+}
+do_execsql_test pagesize-3.3 {
+ BEGIN;
+ PRAGMA page_size = 2048;
+ COMMIT;
+ PRAGMA main.page_size;
+} {1024}
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/oserror.test ('k') | third_party/sqlite/src/test/parser1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698