summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_time_hires.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-03-17 14:13:03 +0100
committerSergei Golubchik <sergii@pisem.net>2011-03-17 14:13:03 +0100
commit1cda2654578b82da52c29a829d463955f8795cc9 (patch)
treef3a8de34f4bf0c331723a999dedc78e87be4b9bb /mysql-test/t/func_time_hires.test
parenta169ede155937cba04b01ea104d7904d89f87007 (diff)
downloadmariadb-git-1cda2654578b82da52c29a829d463955f8795cc9.tar.gz
* fix for ALTER TABLE ... MODIFY timestamp->timestamp.
Use dedicated do_field_temporal() for Copy_field. * check_time_range() needs to know TIME's precision to use the correct max value.
Diffstat (limited to 'mysql-test/t/func_time_hires.test')
-rw-r--r--mysql-test/t/func_time_hires.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/func_time_hires.test b/mysql-test/t/func_time_hires.test
index c651b4aa718..8183f3435e2 100644
--- a/mysql-test/t/func_time_hires.test
+++ b/mysql-test/t/func_time_hires.test
@@ -86,9 +86,9 @@ create table t1 (f1 timestamp(6));
insert into t1 values ('2002-07-15 21:00:00');
select time(f1) from t1;
select time(f1) from t1 union all select time(f1) from t1;
-#alter table t1 modify f1 timestamp;
-#select time(f1) from t1;
-#select time(f1) from t1 union all select time(f1) from t1;
+alter table t1 modify f1 timestamp;
+select time(f1) from t1;
+select time(f1) from t1 union all select time(f1) from t1;
# but the effect cannot be eliminated completely:
alter table t1 modify f1 varchar(100);
select time(f1) from t1;