• Sergei Golubchik's avatar
    MDEV-24230 subquery on information_schema fails with error message · f3b10354
    Sergei Golubchik authored
    disable thd->count_cuted_fields when populating internal temporary
    tables for I_S, because this is how SELECT works standalone.
    And if the SELECT is a part of INSERT or UPDATE or RETURN or SET or
    anything else that enables thd->count_cuted_fields, this counting should
    only apply when storing the result of the SELECT in a field or a
    variable, not when populating internal temporary tables for I_S.
    f3b10354
sql_show.cc 346 KB