• Alexander Barkov's avatar
    MDEV-4634 Crash in CONVERT_TZ · 0e44faf2
    Alexander Barkov authored
    Item_func_min_max::get_date() did not check the
    returned value against the fuzzy_date flags, so
    it could return a bad value to the caller that
    expects a good date (e.h. CONVERT_TZ).
    
    
    modified:
      mysql-test/r/type_date.result
      mysql-test/r/type_datetime.result
      mysql-test/r/type_time.result
      mysql-test/t/type_date.test
      mysql-test/t/type_datetime.test
      mysql-test/t/type_time.test
      sql/item_func.cc
      sql/item_timefunc.cc
      sql/mysql_priv.h
      sql/time.cc
    0e44faf2
time.cc 29.3 KB