~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/cast.result

  • Committer: Eric Day
  • Date: 2010-03-25 19:28:37 UTC
  • mfrom: (1405 staging)
  • mto: This revision was merged to the branch mainline in revision 1409.
  • Revision ID: eday@oddments.org-20100325192837-4exmacbrywjovsqp
Merged trunk, rsolved conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
cast('a  ' AS char(2)) as c4,
73
73
cast('a'   AS char(2)) as c5;
74
74
ERROR 22007: Truncated incorrect CHAR(2) value: 'abc'
75
 
select
76
 
cast('��'  AS char)    as c1,
77
 
cast('� '  AS char)    as c2,
78
 
cast('���' AS char(2)) as c3,
79
 
cast('�  ' AS char(2)) as c4,
80
 
cast('�'   AS char(2)) as c5;
81
 
c1      c2      c3      c4      c5
82
 
��      �       ��      �       �
83
 
Warnings:
84
 
Warning 1292    Truncated incorrect CHAR(2) value: '���'
85
 
Warning 1292    Truncated incorrect CHAR(2) value: '�  '
86
75
select cast("2001-1-1" as date) = "2001-01-01";
87
76
cast("2001-1-1" as date) = "2001-01-01"
88
77
1