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

Unified Diff: third_party/sqlite/src/test/unique2.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/tt3_vacuum.c ('k') | third_party/sqlite/src/test/uri.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/unique2.test
diff --git a/third_party/sqlite/src/test/unique2.test b/third_party/sqlite/src/test/unique2.test
index 6a320d4d7dfe0fa1b2769035d4a1cdee95724cc9..0ec0dd3db2d7c355c36e6088f2620ab132577256 100644
--- a/third_party/sqlite/src/test/unique2.test
+++ b/third_party/sqlite/src/test/unique2.test
@@ -75,4 +75,12 @@ foreach {id sql} {
} {1 {UNIQUE constraint failed: t1.y, t1.z}}
}
+do_catchsql_test 13.1 {
+ CREATE TABLE err1(a,b,c,UNIQUE(rowid));
+} {1 {no such column: rowid}}
+do_catchsql_test 13.2 {
+ CREATE TABLE err1(a,b,c,PRIMARY KEY(rowid));
+} {1 {no such column: rowid}}
+
+
finish_test
« no previous file with comments | « third_party/sqlite/src/test/tt3_vacuum.c ('k') | third_party/sqlite/src/test/uri.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698