summaryrefslogtreecommitdiff
path: root/mysql-test/main/check_constraint.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/check_constraint.test')
-rw-r--r--mysql-test/main/check_constraint.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/check_constraint.test b/mysql-test/main/check_constraint.test
index 194fdc04399..46a34239270 100644
--- a/mysql-test/main/check_constraint.test
+++ b/mysql-test/main/check_constraint.test
@@ -212,7 +212,7 @@ drop table t1;
--echo # MDEV-26061 MariaDB server crash at Field::set_default
--echo #
-create table t1 (d timestamp check (default (d) is true)) as select 1;
+create table t1 (d timestamp not null default now() check (default (d) is true)) as select 1;
show create table t1;
drop table t1;