diff options
Diffstat (limited to 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_time.h b/include/my_time.h index e3bdb58e5c2..af3fc103530 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -111,7 +111,7 @@ void init_time(void); TRUE The MYSQL_TIME value is definitely out of range */ -static inline bool validate_timestamp_range(const MYSQL_TIME *t) +static inline my_bool validate_timestamp_range(const MYSQL_TIME *t) { if ((t->year > TIMESTAMP_MAX_YEAR || t->year < TIMESTAMP_MIN_YEAR) || (t->year == TIMESTAMP_MAX_YEAR && (t->month > 1 || t->day > 19)) || |