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

Side by Side Diff: third_party/sqlite/src/test/select6.test

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/test/select2.test ('k') | third_party/sqlite/src/test/select7.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 # 2001 September 15 1 # 2001 September 15
2 # 2 #
3 # The author disclaims copyright to this source code. In place of 3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing: 4 # a legal notice, here is a blessing:
5 # 5 #
6 # May you do good and not evil. 6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others. 7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give. 8 # May you share freely, never taking more than you give.
9 # 9 #
10 #*********************************************************************** 10 #***********************************************************************
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 WHERE e.r=f.z 451 WHERE e.r=f.z
452 } 452 }
453 } {1} 453 } {1}
454 } ;# ifcapable view 454 } ;# ifcapable view
455 455
456 # Ticket #1634 456 # Ticket #1634
457 # 457 #
458 do_test select6-9.1 { 458 do_test select6-9.1 {
459 execsql { 459 execsql {
460 SELECT a.x, b.x FROM t1 AS a, (SELECT x FROM t1 LIMIT 2) AS b 460 SELECT a.x, b.x FROM t1 AS a, (SELECT x FROM t1 LIMIT 2) AS b
461 ORDER BY 1, 2
461 } 462 }
462 } {1 1 1 2 2 1 2 2 3 1 3 2 4 1 4 2} 463 } {1 1 1 2 2 1 2 2 3 1 3 2 4 1 4 2}
463 do_test select6-9.2 { 464 do_test select6-9.2 {
464 execsql { 465 execsql {
465 SELECT x FROM (SELECT x FROM t1 LIMIT 2); 466 SELECT x FROM (SELECT x FROM t1 LIMIT 2);
466 } 467 }
467 } {1 2} 468 } {1 2}
468 do_test select6-9.3 { 469 do_test select6-9.3 {
469 execsql { 470 execsql {
470 SELECT x FROM (SELECT x FROM t1 LIMIT 2 OFFSET 1); 471 SELECT x FROM (SELECT x FROM t1 LIMIT 2 OFFSET 1);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 } {2 12 3 13 4 14} 508 } {2 12 3 13 4 14}
508 do_test select6-9.11 { 509 do_test select6-9.11 {
509 execsql { 510 execsql {
510 SELECT x, y FROM (SELECT x, (SELECT 10)+x y FROM t1 LIMIT -1 OFFSET 1); 511 SELECT x, y FROM (SELECT x, (SELECT 10)+x y FROM t1 LIMIT -1 OFFSET 1);
511 } 512 }
512 } {2 12 3 13 4 14} 513 } {2 12 3 13 4 14}
513 514
514 515
515 516
516 finish_test 517 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/select2.test ('k') | third_party/sqlite/src/test/select7.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698