~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to tests/t/strict.test

  • Committer: lbieber
  • Date: 2010-10-08 01:11:05 UTC
  • mfrom: (1821.1.4 build)
  • Revision ID: lbieber@orisndriz08-20101008011105-1tbwbvz9me9fy7ua
Merge Monty - Fixed the last of the ICC warnings. Turned on warnings=errors
Merge Brian - fixu bug #655558: SELECT 102/(1-1) should error on divide by zero          
Merge Brian - fix bug #654219: information_schema.key_column_usage does not contain information about FKs

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
44
45
INSERT IGNORE INTO t1 values (1/0);
45
46
INSERT IGNORE INTO t1 values (-2147483649);
46
47
INSERT IGNORE INTO t1 values (2147643648);
97
98
--error ER_WARN_DATA_TRUNCATED
98
99
INSERT INTO t1 (col1) VALUES ('1a');
99
100
INSERT IGNORE INTO t1 (col1) VALUES ('2a');
 
101
--error ER_DIVISION_BY_ZERO
100
102
INSERT IGNORE INTO t1 values (1/0);
101
103
INSERT IGNORE INTO t1 VALUES (-9223372036854775809);
102
104
INSERT IGNORE INTO t1 VALUES (9223372036854775808);
195
197
--error ER_TRUNCATED_WRONG_VALUE_FOR_FIELD
196
198
INSERT INTO t1 (col1) VALUES ('1a');
197
199
INSERT IGNORE INTO t1 (col1) VALUES ('2a');
 
200
--error ER_DIVISION_BY_ZERO
198
201
INSERT IGNORE INTO t1 values (1/0);
199
202
INSERT IGNORE INTO t1 VALUES (1000);
200
203
INSERT IGNORE INTO t1 VALUES (-1000);