diff options
author | msvensson@pilot.blaudden <> | 2007-02-23 17:34:19 +0100 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-02-23 17:34:19 +0100 |
commit | b4d06c0d837398d8f8f51515d1fef76b167f7c14 (patch) | |
tree | c78fe62c081555de415e03927e0e7b92532466ff /include/my_time.h | |
parent | 5ba46a5606f1477daab77300612c3f0784ef9b9b (diff) | |
parent | 7e292b9a9a52829bd29bd09f0cfcac8b269d4373 (diff) | |
download | mariadb-git-b4d06c0d837398d8f8f51515d1fef76b167f7c14.tar.gz |
Merge pilot.blaudden:/home/msvensson/mysql/bug26536/my50-bug26536
into pilot.blaudden:/home/msvensson/mysql/bug26536/my51-bug26536
Diffstat (limited to 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/my_time.h b/include/my_time.h index a27ac5c1628..88abe02ac08 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -30,7 +30,13 @@ extern uchar days_in_month[]; /* Portable time_t replacement. - Should be signed and hold seconds for 1902-2038 range. + Should be signed and hold seconds for 1902 -- 2038-01-19 range + i.e at least a 32bit variable + + Using the system built in time_t is not an option as + we rely on the above requirements in the time functions + + For example QNX has an unsigned time_t type */ #if defined(_WIN64) || defined(WIN64) /* on Win64 long is still 4 bytes (not 8!) */ |