• Sergei Golubchik's avatar
    MDEV-7482 VIEW containing INTERVAL(...) · 22cf2f11
    Sergei Golubchik authored
    Item_func::print() prints itself as name + "(" + arguments + ")".
    Normally that works, but Item_func_interval internally implements its
    arguments as one single Item_row. Item_row prints itself as
    "(" + values + ")". As a result, "INTERVAL(1,2)" was being printed
    as "INTERVAL((1,2))". Fixed with a custom Item_func_interval::print().
    22cf2f11
view_alias.result 6.52 KB