From 030d080d8b4eb8154aa4da13b28c5b81cba09b03 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 6 Nov 2006 22:33:18 +0400 Subject: bug #19491 (5.0-related additional fixes) include/my_time.h: we need to use it outside the my_time.cc mysql-test/r/gis-rtree.result: result fixed sql-common/my_time.c: 'static' removed sql/field.cc: checks for invalid datetimes added --- include/my_time.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/my_time.h') diff --git a/include/my_time.h b/include/my_time.h index e52ef69475d..17cc10a0221 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -49,6 +49,8 @@ typedef long my_time_t; #define TIME_NO_ZERO_DATE (TIME_NO_ZERO_IN_DATE*2) #define TIME_INVALID_DATES (TIME_NO_ZERO_DATE*2) +my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, + ulong flags, int *was_cut); enum enum_mysql_timestamp_type str_to_datetime(const char *str, uint length, MYSQL_TIME *l_time, uint flags, int *was_cut); -- cgit v1.2.1