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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/tkt3773.test

Issue 2363173002: [sqlite] Remove obsolete reference version 3.8.7.4. (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
(Empty)
1 # 2009 April 2
2 #
3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
5 #
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
9 #
10 #***********************************************************************
11 #
12 # Ticket #3773: Be careful not to over-optimize when a compound
13 # subquery contains an ORDER BY clause.
14 #
15 #
16 # $Id: tkt3773.test,v 1.1 2009/04/02 16:59:47 drh Exp $
17
18 set testdir [file dirname $argv0]
19 source $testdir/tester.tcl
20
21 ifcapable !compound {
22 finish_test
23 return
24 }
25
26 do_test tkt3773-1.1 {
27 db eval {
28 CREATE TABLE t1(a,b);
29 INSERT INTO t1 VALUES(2,1);
30 INSERT INTO t1 VALUES(33,3);
31 CREATE TABLE t2(x,y);
32 INSERT INTO t2 VALUES(123,2);
33 INSERT INTO t2 VALUES(4,4);
34 SELECT a FROM (
35 SELECT a, b FROM t1
36 UNION ALL
37 SELECT x, y FROM t2
38 ORDER BY 2
39 );
40 }
41 } {2 123 33 4}
42
43 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/tkt3762.test ('k') | third_party/sqlite/sqlite-src-3080704/test/tkt3791.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698