diff options
author | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-06 22:33:18 +0400 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/deer.(none)> | 2006-11-06 22:33:18 +0400 |
commit | 030d080d8b4eb8154aa4da13b28c5b81cba09b03 (patch) | |
tree | 9e54cdf74b08b556e6aeb07e607bac7f401fa634 /sql-common | |
parent | 10dd1a371d7c5b99f965ca0bde409baadc772240 (diff) | |
download | mariadb-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 'sql-common')
-rw-r--r-- | sql-common/my_time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 93bf23ed284..eea36adcaf3 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -76,8 +76,8 @@ uint calc_days_in_year(uint year) 1 error */ -static my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, - ulong flags, int *was_cut) +my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, + ulong flags, int *was_cut) { if (not_zero_date) { |