• Oleg Smirnov's avatar
    MDEV-29624 MDEV-29655 Fix ASAN errors on pushdown of derived table · 0d927a57
    Oleg Smirnov authored
    Deallocation of TABLE_LIST::dt_handler and TABLE_LIST::pushdown_derived
    was performed in multiple places if code. This not only made the code
    more difficult to maintain but also led to memory leaks and
    ASAN heap-use-after-free errors.
    This commit puts deallocation of TABLE_LIST::dt_handler and
    TABLE_LIST::pushdown_derived to the single point - JOIN::cleanup()
    0d927a57
derived_handler.cc 3.26 KB