~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/select.result

  • Committer: Brian Aker
  • Date: 2010-12-25 00:28:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2031.
  • Revision ID: brian@tangent.org-20101225002849-g73mg6ihulajis0o
First pass in refactoring of the name of my_decimal.

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;
2818
2818
insert into t1 values(1,'2005-01-01'),(2,'2005-09-01'),(3,'2005-09-30'),
2819
2819
(4,'2005-10-01'),(5,'2005-12-30');
2820
2820
select * from t1 where f2 >= 0            order by f2;
2821
 
ERROR HY000: Received an invalid DATE value '0'.
 
2821
ERROR HY000: Received an invalid datetime value '0'.
2822
2822
select * from t1 where f2 >= '0000-00-00' order by f2;
2823
2823
ERROR HY000: Received an invalid datetime value '0000-00-00'.
2824
2824
select * from t1 where f2 >= '2005-09-31' order by f2;
2932
2932
create table t1 (a int);
2933
2933
insert into t1 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
2934
2934
create table t2 (a int, b int, c int, e int, primary key(a,b,c));
2935
 
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;
2936
2936
analyze table t2;
2937
2937
Table   Op      Msg_type        Msg_text
2938
2938
test.t2 analyze status  OK
3555
3555
c34 INT DEFAULT 0,
3556
3556
KEY (c33, c34, c32));
3557
3557
INSERT INTO t1 values (),(),(),(),();
3558
 
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;
3559
3559
INSERT INTO t3 VALUES (1, 1, 1, 0), 
3560
3560
(2, 2, 0, 0), 
3561
3561
(3, 3, 1, 0),