summaryrefslogtreecommitdiff
path: root/mysql-test/main/default.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/default.test')
-rw-r--r--mysql-test/main/default.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/default.test b/mysql-test/main/default.test
index 3064209a4a2..26fc2186533 100644
--- a/mysql-test/main/default.test
+++ b/mysql-test/main/default.test
@@ -287,7 +287,7 @@ drop table t1;
create table t1 (a int);
insert into t1 values(-1);
-alter table t1 add b int default 1, add c int default -1, add d int default (1+1), add e timestamp;
+alter table t1 add b int default 1, add c int default -1, add d int default (1+1), add e timestamp not null default now();
select a,b,c,d,e from t1;
insert into t1 values(10,10,10,10,0);
alter table t1 add f int default (1+1+1) null, add g int default (1+1+1+1) not null,add h int default (2+2+2+2);