• Sergey Vojtovich's avatar
    MDEV-8715 - Obsolete sql_alloc() in favor of THD::alloc() and thd_alloc() · 54689e1d
    Sergey Vojtovich authored
    The following left in semi-improved state to keep patch size reasonable:
    - Field operator new: left thd_alloc(current_thd)
    - Sql_alloc operator new: left thd_alloc(thd_get_current_thd())
    - Item_args constructors: left thd_alloc(thd)
    - Item_func_interval::fix_length_and_dec(): no THD arg, have to call current_thd
    - Item_func_dyncol_exists::val_int(): same
    - Item_dyncol_get::val_str(): same
    - Item_dyncol_get::val_int(): same
    - Item_dyncol_get::val_real(): same
    - Item_dyncol_get::val_decimal(): same
    - Item_singlerow_subselect::fix_length_and_dec(): same
    54689e1d
sql_parse.cc 294 KB