mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-28632 Change default of explicit_defaults_for_timestamp to ON
This commit is contained in:
committed by
Oleksandr Byelkin
parent
c38b8f49b8
commit
45e0373a78
@@ -7,7 +7,7 @@
|
||||
|
||||
SET timestamp=UNIX_TIMESTAMP('2001-01-01 10:00:00');
|
||||
SET sql_mode=DEFAULT;
|
||||
CREATE TABLE t1 (a TIMESTAMP);
|
||||
CREATE TABLE t1 (a TIMESTAMP NOT NULL DEFAULT NOW());
|
||||
INSERT INTO t1 VALUES (NULL);
|
||||
INSERT INTO t1 VALUES ('2001-01-01 10:20:30');
|
||||
SET sql_mode=MAXDB;
|
||||
@@ -17,7 +17,6 @@ SET timestamp=DEFAULT;
|
||||
--let $binlog_file = LAST
|
||||
source include/show_binlog_events.inc;
|
||||
|
||||
|
||||
--sync_slave_with_master
|
||||
SELECT * FROM t1;
|
||||
SET sql_mode=DEFAULT;
|
||||
|
Reference in New Issue
Block a user