~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/strict.test

  • Committer: lbieber
  • Date: 2010-10-02 19:48:35 UTC
  • mfrom: (1730.6.19 drizzle-make-lcov)
  • Revision ID: lbieber@orisndriz08-20101002194835-q5zd9qc4lvx1xnfo
Merge Hartmut - clean up lex, now require flex to build, also "make lcov" improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
--error ER_WARN_DATA_TRUNCATED
42
42
INSERT INTO t1 (col1) VALUES ('1a');
43
43
INSERT IGNORE INTO t1 (col1) VALUES ('2a');
44
 
--error ER_DIVISION_BY_ZERO
45
44
INSERT IGNORE INTO t1 values (1/0);
46
45
INSERT IGNORE INTO t1 values (-2147483649);
47
46
INSERT IGNORE INTO t1 values (2147643648);
67
66
 
68
67
--error ER_WARN_DATA_OUT_OF_RANGE
69
68
INSERT INTO t1 (col1) VALUES(-9223372036854775809);
70
 
# https://bugs.launchpad.net/drizzle/+bug/316221
71
 
 --error ER_WARN_DATA_OUT_OF_RANGE
72
 
INSERT INTO t1 (col1) VALUES(9223372036854775808);
 
69
# DISABLED due to https://bugs.launchpad.net/drizzle/+bug/316221
 
70
# --error ER_WARN_DATA_OUT_OF_RANGE
 
71
# INSERT INTO t1 (col1) VALUES(9223372036854775808);
73
72
 
74
73
--error ER_WARN_DATA_OUT_OF_RANGE
75
74
INSERT INTO t1 (col1) VALUES('-9223372036854775809');
98
97
--error ER_WARN_DATA_TRUNCATED
99
98
INSERT INTO t1 (col1) VALUES ('1a');
100
99
INSERT IGNORE INTO t1 (col1) VALUES ('2a');
101
 
--error ER_DIVISION_BY_ZERO
102
100
INSERT IGNORE INTO t1 values (1/0);
103
101
INSERT IGNORE INTO t1 VALUES (-9223372036854775809);
104
102
INSERT IGNORE INTO t1 VALUES (9223372036854775808);
197
195
--error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
198
196
INSERT INTO t1 (col1) VALUES ('1a');
199
197
INSERT IGNORE INTO t1 (col1) VALUES ('2a');
200
 
--error ER_DIVISION_BY_ZERO
201
198
INSERT IGNORE INTO t1 values (1/0);
202
199
INSERT IGNORE INTO t1 VALUES (1000);
203
200
INSERT IGNORE INTO t1 VALUES (-1000);