~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/round.test

tests for to_decimal methods
parameterized tests for more formats possible for from_strings, however they don't compile ATM so I commented them out

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
INSERT INTO t1 VALUES ('0.1');
101
101
INSERT INTO t1 VALUES ('0.5');
102
102
INSERT INTO t1 VALUES ('9223372036854775807.4');
103
 
--error ER_WARN_DATA_OUT_OF_RANGE
 
103
--error 1264
104
104
INSERT INTO t1 VALUES ('9223372036854775807.5');
105
105
INSERT INTO t1 VALUES ('-0.1');
106
106
INSERT INTO t1 VALUES ('-0.5');
107
 
--error ER_WARN_DATA_OUT_OF_RANGE
 
107
--error 1264
108
108
INSERT INTO t1 VALUES ('18446744073709551615.4');
109
109
SELECT * FROM t1;
110
110
DROP TABLE t1;