~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/select.result

  • Committer: Brian Aker
  • Date: 2011-02-04 09:29:39 UTC
  • mfrom: (2139.3.6 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2144.
  • Revision ID: brian@tangent.org-20110204092939-nlwrimamw0fxxhgl
Main bit of this patch is that Inno now just uses the identifier so we only
have one spot to make changes for paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1266
1266
58      company 8
1267
1267
65      company 9
1268
1268
68      company 10
1269
 
select * from t1 CROSS JOIN t1 t12;
 
1269
select * from t1,t1 t12;
1270
1270
Period  Varor_period    Period  Varor_period
1271
1271
9410    9412    9410    9412
1272
1272
select t2.fld1,t22.fld1 from t2,t2 t22 where t2.fld1 >= 250501 and t2.fld1 <= 250505 and t22.fld1 >= 250501 and t22.fld1 <= 250505;
1903
1903
select max(t2nr) from t3 where price=983543950;
1904
1904
max(t2nr)
1905
1905
41807
 
1906
select t1.period from t3 = t1 limit 1;
 
1907
period
 
1908
1001
1906
1909
select t1.period from t1 as t1 limit 1;
1907
1910
period
1908
1911
9410
2929
2932
create table t1 (a int);
2930
2933
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
2931
2934
create table t2 (a int, b int, c int, e int, primary key(a,b,c));
2932
 
insert into t2 select A.a, B.a, C.a, C.a from t1 A CROSS JOIN t1 B CROSS JOIN t1 C;
 
2935
insert into t2 select A.a, B.a, C.a, C.a from t1 A, t1 B, t1 C;
2933
2936
analyze table t2;
2934
2937
Table   Op      Msg_type        Msg_text
2935
2938
test.t2 analyze status  OK
3552
3555
c34 INT DEFAULT 0,
3553
3556
KEY (c33, c34, c32));
3554
3557
INSERT INTO t1 values (),(),(),(),();
3555
 
INSERT INTO t2 SELECT a.c11, b.c11 FROM t1 a CROSS JOIN t1 b;
 
3558
INSERT INTO t2 SELECT a.c11, b.c11 FROM t1 a, t1 b;
3556
3559
INSERT INTO t3 VALUES (1, 1, 1, 0), 
3557
3560
(2, 2, 0, 0), 
3558
3561
(3, 3, 1, 0),