Commit 6f96fb79 authored by unknown's avatar unknown

test for the bug #1885: mysqldump does not dumps timestamp default.

parent c167af11
......@@ -122,3 +122,5 @@ t2 t4 t6 t8 t10 t12 t14
0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00 0000-00-00 00:00:00
1997-12-31 23:47:59 1997-12-31 23:47:59 1997-12-31 23:47:59 1997-12-31 23:47:59 1997-12-31 23:47:59 1997-12-31 23:47:59 1997-12-31 23:47:59
drop table t1;
create table t1 (a timestamp default 1);
Invalid default value for 'a'
......@@ -72,3 +72,9 @@ set new=1;
select * from t1;
drop table t1;
#
# Bug #1885
#
--error 1067
create table t1 (a timestamp default 1);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment