1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

MDEV-29227 deprecate explicit_defaults_for_timestamp=0

This commit is contained in:
Sergei Golubchik
2022-12-08 17:48:00 +01:00
parent 760d149067
commit 0ac5132505
8 changed files with 30 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ include/master-slave.inc
[connection master]
set timestamp=1656940000;
set explicit_defaults_for_timestamp=!@@explicit_defaults_for_timestamp;
Warnings:
Warning 1681 'explicit_defaults_for_timestamp=0' is deprecated and will be removed in a future release
connection master;
create table t1 (f1 timestamp, f2 timestamp);
show create table t1;