243
243
# check for invalid dates
246
246
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
247
247
select unix_timestamp('2039-01-20 01:00:00');
248
249
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
249
250
select unix_timestamp('1968-01-20 01:00:00');
251
252
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
252
253
select unix_timestamp('2038-02-10 01:00:00');
253
255
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
254
256
select unix_timestamp('1969-11-20 01:00:00');
256
258
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
257
259
select unix_timestamp('2038-01-20 01:00:00');
258
261
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp
259
262
select unix_timestamp('1969-12-30 01:00:00');