Remove a lot of the text describing extended format options from the
[sqlite.git] / test / tkt-d635236375.test
blob3fc782265e2f32671a721f7f2ca797f1f43c1365
1 # 2011 August 3
3 # The author disclaims copyright to this source code.  In place of
4 # a legal notice, here is a blessing:
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.
10 #***********************************************************************
11 # This file implements regression tests for SQLite library.  The
12 # focus of this file is testing that bug [d63523637517386191d634e]
13 # has been fixed.
16 set testdir [file dirname $argv0]
17 source $testdir/tester.tcl
19 set ::testprefix tkt-d635236375
21 do_test 1.0 {
22   execsql {
23     CREATE TABLE t1(id1 INTEGER PRIMARY KEY);
24     INSERT INTO t1 VALUES(9999);
25     CREATE TABLE t2(id2 INTEGER PRIMARY KEY);
26     INSERT INTO t2 VALUES(12345);
27     INSERT INTO t2 VALUES(54321);
28     SELECT DISTINCT id1 AS x, id1 AS y FROM t1, t2;
29   }
30 } {9999 9999}
31 do_test 1.1 {
32   execsql {
33     SELECT count(*) FROM t1, t2 GROUP BY id1, id1;
34   }
35 } {2}
38 finish_test