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

Side by Side Diff: third_party/sqlite/src/test/collate1.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 unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/test/cffault.test ('k') | third_party/sqlite/src/test/collate3.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # 2001 September 15 2 # 2001 September 15
3 # 3 #
4 # The author disclaims copyright to this source code. In place of 4 # The author disclaims copyright to this source code. In place of
5 # a legal notice, here is a blessing: 5 # a legal notice, here is a blessing:
6 # 6 #
7 # May you do good and not evil. 7 # May you do good and not evil.
8 # May you find forgiveness for yourself and forgive others. 8 # May you find forgiveness for yourself and forgive others.
9 # May you share freely, never taking more than you give. 9 # May you share freely, never taking more than you give.
10 # 10 #
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 INSERT INTO p1 VALUES('abb'); 378 INSERT INTO p1 VALUES('abb');
379 INSERT INTO p1 VALUES('wxz'); 379 INSERT INTO p1 VALUES('wxz');
380 INSERT INTO p1 VALUES('wxy'); 380 INSERT INTO p1 VALUES('wxy');
381 381
382 INSERT INTO c1 VALUES(2, 'abb'); 382 INSERT INTO c1 VALUES(2, 'abb');
383 INSERT INTO c1 VALUES(3, 'wxz'); 383 INSERT INTO c1 VALUES(3, 'wxz');
384 INSERT INTO c1 VALUES(4, 'WXY'); 384 INSERT INTO c1 VALUES(4, 'WXY');
385 SELECT x, y FROM c1 ORDER BY y COLLATE """"""""; 385 SELECT x, y FROM c1 ORDER BY y COLLATE """""""";
386 } {2 abb 1 ABC 4 WXY 3 wxz} 386 } {2 abb 1 ABC 4 WXY 3 wxz}
387 387
388 finish_test 388 # 2015-04-15: Nested COLLATE operators
389 #
390 do_execsql_test 7.0 {
391 SELECT 'abc' UNION ALL SELECT 'DEF'
392 ORDER BY 1 COLLATE nocase COLLATE nocase COLLATE nocase COLLATE nocase;
393 } {abc DEF}
394 do_execsql_test 7.1 {
395 SELECT 'abc' UNION ALL SELECT 'DEF'
396 ORDER BY 1 COLLATE nocase COLLATE nocase COLLATE nocase COLLATE binary;
397 } {DEF abc}
398 do_execsql_test 7.2 {
399 SELECT 'abc' UNION ALL SELECT 'DEF'
400 ORDER BY 1 COLLATE binary COLLATE binary COLLATE binary COLLATE nocase;
401 } {abc DEF}
389 402
390 403
404 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/cffault.test ('k') | third_party/sqlite/src/test/collate3.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698