243
243
# check for invalid dates
245
245
# Legal, Drizzle has 64bit timestamp
246
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
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
259
select unix_timestamp('2038-01-20 01:00:00');
258
261
--error ER_INVALID_UNIX_TIMESTAMP_VALUE # Bad timestamp