mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
@ -212,7 +212,7 @@ drop table t1;
|
||||
--echo # MDEV-26061 MariaDB server crash at Field::set_default
|
||||
--echo #
|
||||
|
||||
create table t1 (d timestamp check (default (d) is true)) as select 1;
|
||||
create table t1 (d timestamp not null default now() check (default (d) is true)) as select 1;
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
|
||||
|
Reference in New Issue
Block a user