~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/cast.test

  • Committer: Andrew Hutchings
  • Date: 2010-09-08 19:03:09 UTC
  • mfrom: (1750 staging)
  • mto: (1750.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1751.
  • Revision ID: andrew@linuxjedi.co.uk-20100908190309-mya1nu7xvo1fpvk8
Merge trunk into branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
select cast(1000 as CHAR(3));
38
38
 
39
39
# Should throw an error about 'abc' being too large for a char(2)
40
 
--error 1292
 
40
--error ER_TRUNCATED_WRONG_VALUE
41
41
create table t1 select
42
42
  cast('ab'  AS char)    as c1,
43
43
  cast('a '  AS char)    as c2,
57
57
 
58
58
# BUG in drizzletest - can't handle these chars right
59
59
# # Should throw an error about incorrect
60
 
#--error 1292
 
60
#--error ER_TRUNCATED_WRONG_VALUE
61
61
#create table t1 select
62
62
#  cast('��'  AS char)    as c1,
63
63
#  cast('� '  AS char)    as c2,