1. 23 Feb, 2007 3 commits
    • unknown's avatar
      Bug#26536 func_time failure on vm-win2003-64-b, occurs every time · 7f723d53
      unknown authored
       - Fixes for 5.1
       - Always use long for my_time_t
      
      
      include/my_time.h:
        Use long for my_time_t
        It 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
      7f723d53
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug26536/my50-bug26536 · 7020d192
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/bug26536/my51-bug26536
      
      
      include/my_time.h:
        Auto merged
      sql/tztime.cc:
        Auto merged
      7020d192
    • unknown's avatar
      Bug#26536 func_time failure on vm-win2003-64-b, occurs every time · d8ba8b8c
      unknown authored
       - Avoid overflow in sec_since_epoch by shifting the time
         back 2 days for times close to the maximum range of my_time_t
       - Improve comment about why we need my_time_t
       - Patch will also fix timezone2.test
      
      
      include/my_time.h:
        Improve comment for my_time_t, especially that we require
        it to be at least a 32bit unsigned type
      sql/tztime.cc:
        - Add assert in sec_since_epoch to guard it against broken down time
        values that would cause overflow in my_time_t on systems with 32 bit
        my_time_t
        - Avoid overflow in sec_since_epoch by "shifting" the broken down
        time back 2 days for times that are near the max value.c
      d8ba8b8c
  2. 21 Feb, 2007 2 commits
  3. 20 Feb, 2007 14 commits
  4. 19 Feb, 2007 21 commits