~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_concat.result

  • Committer: Monty Taylor
  • Date: 2008-10-14 16:33:44 UTC
  • mfrom: (512 drizzle)
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 515.
  • Revision ID: monty@inaugust.com-20081014163344-9xprk712n9hmbrzr
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
number  alpha   new
27
27
1413006 idlfmv  1413006<------------------>idlfmv
28
28
drop table t1;
29
 
create table t1 (a char(4), b double, c date, d tinyint(4));
 
29
create table t1 (a char(4), b double, c date, d int);
30
30
insert into t1 values ('AAAA', 105, '2003-03-01', 1);
31
31
select * from t1 where concat(A,C,B,D) = 'AAAA2003-03-011051';
32
32
a       b       c       d
39
39
select 'a' union select concat('a', -4.5);
40
40
a
41
41
a
42
 
a-4.5
 
42
a-4.
43
43
select 'a' union select concat('a', -(4 + 1));
44
44
a
45
45
a
67
67
select 'a' union select concat('a', -0.0000);
68
68
a
69
69
a
70
 
a0.0000
 
70
a0.0
71
71
select concat((select x from (select 'a' as x) as t1 ),
72
72
(select y from (select 'b' as y) as t2 )) from (select 1 union select 2 )
73
73
as t3;
75
75
(select y from (select 'b' as y) as t2 ))
76
76
ab
77
77
ab
78
 
create table t1(f1 varchar(6)) charset=utf8;
 
78
create table t1(f1 varchar(6));
79
79
insert into t1 values ("123456");
80
80
select concat(f1, 2) a from t1 union select 'x' a from t1;
81
81
a