diff options
author | Mikael Ronström <mikael@dator9> | 2011-02-10 18:15:19 +0100 |
---|---|---|
committer | Mikael Ronström <mikael@dator9> | 2011-02-10 18:15:19 +0100 |
commit | e3f89e5dbac66b34db735ae44a21e6d489a7f28e (patch) | |
tree | 47a4be74fb4e90a025c800c4e4290a9427824390 /sql/sql_class.h | |
parent | 70136c0aa252d8da2c698f3635ddce8c60b26bc3 (diff) | |
parent | 50c9f1f63d322872a2a36d82fa75eb72c55f6d5c (diff) | |
download | mariadb-git-e3f89e5dbac66b34db735ae44a21e6d489a7f28e.tar.gz |
merge
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 4104f15cfa4..5d600eab2a3 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -2280,7 +2280,7 @@ public: /*TODO: this will be obsolete when we have support for 64 bit my_time_t */ inline bool is_valid_time() { - return (start_time < (time_t) MY_TIME_T_MAX); + return (IS_TIME_T_VALID_FOR_TIMESTAMP(start_time)); } void set_time_after_lock() { utime_after_lock= my_micro_time(); } ulonglong current_utime() { return my_micro_time(); } |