summaryrefslogtreecommitdiff
path: root/include/my_time.h
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-02-23 17:34:19 +0100
committerunknown <msvensson@pilot.blaudden>2007-02-23 17:34:19 +0100
commit7020d1920a2c13659ec4b8492054c154427e6f31 (patch)
treec78fe62c081555de415e03927e0e7b92532466ff /include/my_time.h
parent794c55672e7759380c295ecb3bd4312a29c4a89d (diff)
parentd8ba8b8c985d256cf607e6e1a86be6b1fc533673 (diff)
downloadmariadb-git-7020d1920a2c13659ec4b8492054c154427e6f31.tar.gz
Merge pilot.blaudden:/home/msvensson/mysql/bug26536/my50-bug26536
into pilot.blaudden:/home/msvensson/mysql/bug26536/my51-bug26536 include/my_time.h: Auto merged sql/tztime.cc: Auto merged
Diffstat (limited to 'include/my_time.h')
-rw-r--r--include/my_time.h8
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!) */