mirror of
https://github.com/MariaDB/server.git
synced 2026-04-25 09:45:31 +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
|
|
@ -106,7 +106,7 @@ drop table t1;
|
|||
set @@test_sql_discovery_statement='t1:
|
||||
create table t1 (
|
||||
a int not null default 5 primary key,
|
||||
b timestamp,
|
||||
b timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
c tinyblob,
|
||||
d decimal(5,2),
|
||||
e varchar(30) character set ascii,
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ drop table t1;
|
|||
set @@test_sql_discovery_statement='t1:
|
||||
create table t1 (
|
||||
a int not null default 5 primary key,
|
||||
b timestamp,
|
||||
b timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
c tinyblob,
|
||||
d decimal(5,2),
|
||||
e varchar(30) character set ascii,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue