~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/strict.test

  • Committer: Patrick Galbraith
  • Date: 2010-10-03 13:40:30 UTC
  • mto: (1812.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1813.
  • Revision ID: patg@patg-desktop-20101003134030-j13wf1e79za77jtf
Added license to start_mc.sh.in to clear up ambiguity

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);