• Gleb Shchepa's avatar
    After-push commit for bug #33461 to make valgrind happy: · a3cb8c68
    Gleb Shchepa authored
    TABLE_LIST doesn't free Strings in its string lists
    (TABLE_LIST::use_index and TABLE_liST::ignore_index), so
    calling c_ptr_safe() on that Strings leads to memleaks.
    OTOH "safe" c_ptr_safe() is not necessary there and we can
    replace it with c_ptr().
    a3cb8c68
sql_view.cc 55.5 KB