1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-28632 Change default of explicit_defaults_for_timestamp to ON

This commit is contained in:
Sergei Golubchik
2022-06-12 22:01:56 +02:00
committed by Oleksandr Byelkin
parent c38b8f49b8
commit 45e0373a78
125 changed files with 887 additions and 898 deletions

View File

@ -91,7 +91,7 @@ SET @@global.mysql56_temporal_format=DEFAULT;
# Copy_field
set time_zone='Europe/Moscow';
set global mysql56_temporal_format=false;
create table t1 (a timestamp);
create table t1 (a timestamp not null default now());
set timestamp=1288477526;
insert t1 values (null);
insert t1 values ();
@ -107,7 +107,7 @@ drop table t1;
# field_conv_incompatible()
set global mysql56_temporal_format=false;
create table t1 (a timestamp);
create table t1 (a timestamp not null default now());
set timestamp=1288477526;
insert t1 values (null);
set timestamp=1288481126;