• Varun Gupta's avatar
    MDEV-15247: Crash when SET NAMES 'utf8' is set · 5f2a67a6
    Varun Gupta authored
    In this case we are accessing incorrect memory when we have mergeable semi-joins.
    In the case when we have mergeable semi joins parent select will have a table count
    of all the tables in that select plus all the tables involved in the IN-subquery.
    But this table count does not include the "sjm table" (only includes the inner and outer tables)
    denotes as <subquery#> in explain.
    5f2a67a6
sql_select.cc 825 KB