~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/cast.test

Add Solaris atomics fixes and test files. Add replication.h header to makefile.

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 ER_TRUNCATED_WRONG_VALUE
 
40
--error 1292
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 ER_TRUNCATED_WRONG_VALUE
 
60
#--error 1292
61
61
#create table t1 select
62
62
#  cast('��'  AS char)    as c1,
63
63
#  cast('� '  AS char)    as c2,