diff options
author | konstantin@mysql.com <> | 2004-06-24 19:09:31 +0400 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-06-24 19:09:31 +0400 |
commit | 29b88ff53902b4dd0bbcd06b3e2a19eefbed49c6 (patch) | |
tree | 1c3eec012abfb2a5d98d1db69e459003b89bedd1 /sql/tztime.cc | |
parent | 62aeb886384ea95a5066b8e1c4b200c72afac490 (diff) | |
parent | a30fcdc690955b883376fe56c099c97c944ab7c8 (diff) | |
download | mariadb-git-29b88ff53902b4dd0bbcd06b3e2a19eefbed49c6.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/kostja/mysql/mysql-4.1-4030
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index e87010b3001..0a5b8df664c 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -582,7 +582,7 @@ sec_to_TIME(TIME * tmp, my_time_t t, long offset) /* filling MySQL specific TIME members */ tmp->neg= 0; tmp->second_part= 0; - tmp->time_type= TIMESTAMP_DATETIME; + tmp->time_type= MYSQL_TIMESTAMP_DATETIME; } @@ -1009,7 +1009,7 @@ Time_zone_system::gmt_sec_to_TIME(TIME *tmp, my_time_t t) const localtime_r(&tmp_t, &tmp_tm); localtime_to_TIME(tmp, &tmp_tm); - tmp->time_type= TIMESTAMP_DATETIME; + tmp->time_type= MYSQL_TIMESTAMP_DATETIME; } @@ -1092,7 +1092,7 @@ Time_zone_utc::gmt_sec_to_TIME(TIME *tmp, my_time_t t) const time_t tmp_t= (time_t)t; gmtime_r(&tmp_t, &tmp_tm); localtime_to_TIME(tmp, &tmp_tm); - tmp->time_type= TIMESTAMP_DATETIME; + tmp->time_type= MYSQL_TIMESTAMP_DATETIME; } |