• Sergei Golubchik's avatar
    MDEV-24346 valgrind error in main.precedence · 59211ab7
    Sergei Golubchik authored
    Part II.
    
    It's still possible to bypass Item_func_like::escape
    initialization in Item_func_like::fix_fields().
    
    This requires ESCAPE argument being a cacheable subquery
    that uses tables and is inside a derived table which
    is used in multi-update.
    
    Instead of implementing a complex or expensive fix for
    this particular ridiculously artificial case, let's simply disallow it.
    59211ab7
item_cmpfunc.cc 193 KB