mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL
This commit is contained in:
parent
89af0f11a8
commit
5c9c8ef1ea
111 changed files with 844 additions and 219 deletions
|
|
@ -77,7 +77,7 @@ eval CREATE TABLE t1 (
|
|||
#
|
||||
c28 DATE,
|
||||
c29 DATETIME,
|
||||
c30 TIMESTAMP,
|
||||
c30 TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
c31 TIME,
|
||||
c32 YEAR,
|
||||
#
|
||||
|
|
|
|||
|
|
@ -398,7 +398,8 @@ sync_slave_with_master;
|
|||
STOP SLAVE;
|
||||
RESET SLAVE;
|
||||
eval CREATE TABLE t9 (a INT KEY, b BLOB, c CHAR(5),
|
||||
d TIMESTAMP,
|
||||
d TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
ON UPDATE CURRENT_TIMESTAMP,
|
||||
e INT NOT NULL,
|
||||
f text not null,
|
||||
g text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue