diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-03-17 14:13:03 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-03-17 14:13:03 +0100 |
commit | 1cda2654578b82da52c29a829d463955f8795cc9 (patch) | |
tree | f3a8de34f4bf0c331723a999dedc78e87be4b9bb /include/my_time.h | |
parent | a169ede155937cba04b01ea104d7904d89f87007 (diff) | |
download | mariadb-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 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_time.h b/include/my_time.h index 7d059a03710..db1795eeb6e 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -92,7 +92,7 @@ double TIME_to_double(const MYSQL_TIME *my_time); longlong pack_time(MYSQL_TIME *my_time); MYSQL_TIME *unpack_time(longlong packed, MYSQL_TIME *my_time); -int check_time_range(struct st_mysql_time *, int *warning); +int check_time_range(struct st_mysql_time *my_time, uint dec, int *warning); long calc_daynr(uint year,uint month,uint day); uint calc_days_in_year(uint year); |