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

Unified Diff: third_party/sqlite/src/test/attach.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/atof1.test ('k') | third_party/sqlite/src/test/autoindex1.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/attach.test
diff --git a/third_party/sqlite/src/test/attach.test b/third_party/sqlite/src/test/attach.test
index be5f9881c31833e2da37256dfb19f2c66f3c8c9f..31c24e61d9fa3108f14c6fbe4cb1c848eb71a124 100644
--- a/third_party/sqlite/src/test/attach.test
+++ b/third_party/sqlite/src/test/attach.test
@@ -859,4 +859,16 @@ do_test attach-10.2 {
}] 9 end
} {4 noname {} 5 inmem {}}
+# Attach with a very long URI filename.
+#
+db close
+sqlite3 db test.db -uri 1
+do_execsql_test attach-11.1 {
+ ATTACH printf('file:%09000x/x.db?mode=memory&cache=shared',1) AS aux1;
+ CREATE TABLE aux1.t1(x,y);
+ INSERT INTO aux1.t1(x,y) VALUES(1,2),(3,4);
+ SELECT * FROM aux1.t1;
+} {1 2 3 4}
+
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/atof1.test ('k') | third_party/sqlite/src/test/autoindex1.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698