~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/range.result

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:01:15 UTC
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207170115-e4sryp5nkb3n2vhy
Implicit joins of the form "SELECT * FROM t1, t2" without WHERE or ON now error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
657
657
filler char(82),
658
658
PRIMARY KEY (pk1,pk2,pk3,pk4)
659
659
);
660
 
insert into t2 select 1, A.a+10*B.a, 432, 44, 'fillerZ' from t1 A, t1 B;
 
660
insert into t2 select 1, A.a+10*B.a, 432, 44, 'fillerZ' from t1 A CROSS JOIN t1 B;
661
661
INSERT INTO t2 VALUES (2621, 2635, 0, 0,'filler'), (2621, 2635, 1, 0,'filler'),
662
662
(2621, 2635, 10, 0,'filler'), (2621, 2635, 11, 0,'filler'),
663
663
(2621, 2635, 14, 0,'filler'), (2621, 2635, 1000015, 0,'filler');
969
969
insert into t1 values ('a ','');
970
970
insert into t1 values ('a  ', '');
971
971
insert into t1 select concat('a', 1000 + A.a + 10 * (B.a + 10 * C.a)), ''
972
 
  from t3 A, t3 B, t3 C;
 
972
  from t3 A CROSS JOIN t3 B CROSS JOIN t3 C;
973
973
create table t2 (a varchar(10), filler char(200), key(a));
974
974
insert into t2 select * from t1;
975
975
explain select * from t1 where a between 'a' and 'a ';