mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-15141 Check constraint validation on a datetime field crashes the process
add the test case (the bug was fixed in d390e501eb
)
This commit is contained in:
@ -152,3 +152,7 @@ a
|
||||
1
|
||||
NULL
|
||||
drop table t1;
|
||||
create table t1 (id int auto_increment primary key, datecol datetime, check (datecol>'0001-01-01 00:00:00'));
|
||||
insert into t1 (datecol) values (now());
|
||||
insert into t1 (datecol) values (now());
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user