• Sergei Golubchik's avatar
    MDEV-21603 Crashing SHOW TABLES with derived table in WHERE condition · a20195bb
    Sergei Golubchik authored
    When you only need view structure, don't call handle_derived with
    DT_CREATE and rely on its internal hackish check to skip DT_CREATE.
    Because handle_derived is called from many different places,
    and this internal hackish check is indiscriminative.
    
    Instead, just don't ask handle_derived to do DT_CREATE
    if you don't want it to do DT_CREATE.
    a20195bb
show.result 1.93 KB