• Sergei Golubchik's avatar
    bugfix: Item_func_min_max stored thd internally · b948b5f7
    Sergei Golubchik authored
    It was used for get_datetime_value() and for thd->is_error().
    
    But in fact, get_datetime_value() never used thd argument, because the
    cache ptr argument was NULL. And thd->is_error() check was not needed
    at that place at all.
    b948b5f7
wrong_arena.test 1008 Bytes