I would like to understand why, for a simple table created like :
show create table test;
CREATE TABLE `test` ( `start_timestamp` timestamp NULL DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1
I got a reject:
insert into test values('2016-03-27 02:00:00');
ERROR 1292 (22007): Incorrect datetime value: '2016-03-27 02:00:00' for column 'start_timestamp' at row 1
While just another timestamp in exactly the same format can be inserted, such as :
insert into test values('2016-03-27 01:00:00');
Query OK, 1 row affected (0.01 sec)
Are there any constraint on the timestamp values or settings, or it is a bug ?
I'm using: $ mysql --version mysql Ver 15.1 Distrib 10.2.9-MariaDB, for Linux (x86_64) using readline 5.1
Thanks a lot!