diff options
author | serg@serg.mylan <> | 2004-11-20 18:36:41 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2004-11-20 18:36:41 +0100 |
commit | 2d3dd65cc1512930273b3c82b635e43558ab4e6a (patch) | |
tree | 62ae289d237eebb2f3c921cb532cc66e70229341 /include/my_time.h | |
parent | 15ada105ac9159e6f026c3bc6934c33f3387d9d7 (diff) | |
parent | 4e52cc2ded1316c2607079e9f4d513d52fc06312 (diff) | |
download | mariadb-git-2d3dd65cc1512930273b3c82b635e43558ab4e6a.tar.gz |
merged
Diffstat (limited to 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_time.h b/include/my_time.h index c55eb051a1a..1635c55fdc9 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -64,14 +64,15 @@ void init_time(void); my_time_t my_system_gmt_sec(const MYSQL_TIME *t, long *my_timezone, bool *in_dst_time_gap); -void set_zero_time(MYSQL_TIME *tm); +void set_zero_time(MYSQL_TIME *tm, enum enum_mysql_timestamp_type time_type); /* Required buffer length for my_time_to_str, my_date_to_str, my_datetime_to_str and TIME_to_string functions. Note, that the caller is still responsible to check that given TIME structure has values in valid ranges, otherwise size of the buffer could - be not enough. + be not enough. We also rely on the fact that even wrong values + sent using binary protocol fit in this buffer. */ #define MAX_DATE_STRING_REP_LENGTH 30 |