summaryrefslogtreecommitdiff
path: root/sql-common/my_time.c
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
commitc8d49b70c3c2c5c5ed68d334f43f220ade8ddf93 (patch)
tree9e54cdf74b08b556e6aeb07e607bac7f401fa634 /sql-common/my_time.c
parentfdd322383020c7a9eacb03f09c17616b3f11ad53 (diff)
downloadmariadb-git-c8d49b70c3c2c5c5ed68d334f43f220ade8ddf93.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/my_time.c')
-rw-r--r--sql-common/my_time.c4
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)
{