summaryrefslogtreecommitdiff
path: root/include/my_time.h
diff options
context:
space:
mode:
authorunknown <holyfoot/hf@mysql.com/deer.(none)>2006-11-06 22:33:18 +0400
committerunknown <holyfoot/hf@mysql.com/deer.(none)>2006-11-06 22:33:18 +0400
commit030d080d8b4eb8154aa4da13b28c5b81cba09b03 (patch)
tree9e54cdf74b08b556e6aeb07e607bac7f401fa634 /include/my_time.h
parent10dd1a371d7c5b99f965ca0bde409baadc772240 (diff)
downloadmariadb-git-030d080d8b4eb8154aa4da13b28c5b81cba09b03.tar.gz
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
Diffstat (limited to 'include/my_time.h')
-rw-r--r--include/my_time.h2
1 files changed, 2 insertions, 0 deletions
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);