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

Unified Diff: third_party/sqlite/src/test/collate3.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/collate1.test ('k') | third_party/sqlite/src/test/collate4.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/collate3.test
diff --git a/third_party/sqlite/src/test/collate3.test b/third_party/sqlite/src/test/collate3.test
index 2c051cb9a74fbdca4b60cdebace083de0cc4d090..99640d05b89bee6539e7fb8754639a28fcbcc880 100644
--- a/third_party/sqlite/src/test/collate3.test
+++ b/third_party/sqlite/src/test/collate3.test
@@ -32,7 +32,7 @@ source $testdir/tester.tcl
#
do_test collate3-1.0 {
execsql {
- CREATE TABLE collate3t1(c1);
+ CREATE TABLE collate3t1(c1 UNIQUE);
}
} {}
do_test collate3-1.1 {
@@ -40,6 +40,11 @@ do_test collate3-1.1 {
SELECT * FROM collate3t1 ORDER BY 1 collate garbage;
}
} {1 {no such collation sequence: garbage}}
+do_test collate3-1.1.2 {
+ catchsql {
+ SELECT DISTINCT c1 COLLATE garbage FROM collate3t1;
+ }
+} {1 {no such collation sequence: garbage}}
do_test collate3-1.2 {
catchsql {
CREATE TABLE collate3t2(c1 collate garbage);
« no previous file with comments | « third_party/sqlite/src/test/collate1.test ('k') | third_party/sqlite/src/test/collate4.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698