• unknown's avatar
    Fix an unstable test. It was reliant on the current time. · ce7cbe73
    unknown authored
    
    mysql-test/r/func_time.result:
      Update results (use fixed datetime values instead of NOW()).
    mysql-test/t/func_time.test:
      Use fixed datetime values instead of NOW(): the test would have a sporadic
      failure when current day changed between two consequtive calls to
      NOW(). The test actually tests FROM_DAYS/TO_DAYS functions, 
      so use of NOW() is not necessary.
    ce7cbe73
func_time.test 32.2 KB