• unknown's avatar
    Fix for bug #21789: DATETIME with 0000-00-00 11:22:33 should be invalid, but is accepted · b4291a48
    unknown authored
    Reject '0000-00-00 01:01:01' dates.
    
    
    mysql-test/r/date_formats.result:
      Fix for bug #21789: DATETIME with 0000-00-00 11:22:33 should be invalid, but is accepted 
        - test results adjusted.
    sql-common/my_time.c:
      Fix for bug #21789: DATETIME with 0000-00-00 11:22:33 should be invalid, but is accepted 
        - don't allow dates with NULL date part and not NULL time part.
    b4291a48
date_formats.result 22.7 KB