mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL
This commit is contained in:
@ -2891,7 +2891,7 @@ drop table t1;
|
||||
# Bug#13052 mysqldump timestamp reloads broken
|
||||
#
|
||||
drop table if exists t1;
|
||||
create table t1 (`d` timestamp, unique (`d`));
|
||||
create table t1 (`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, unique (`d`));
|
||||
set time_zone='+00:00';
|
||||
insert into t1 values ('2003-10-25 22:00:00'),('2003-10-25 23:00:00');
|
||||
select * from t1;
|
||||
|
Reference in New Issue
Block a user