mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL
This commit is contained in:
@ -93,7 +93,7 @@ set @@SQL_MODE=NULL;
|
||||
set session sql_mode=ansi;
|
||||
create table t1
|
||||
(f1 integer auto_increment primary key,
|
||||
f2 timestamp default current_timestamp on update current_timestamp);
|
||||
f2 timestamp not null default current_timestamp on update current_timestamp);
|
||||
show create table t1;
|
||||
set session sql_mode=no_field_options;
|
||||
show create table t1;
|
||||
|
Reference in New Issue
Block a user