• ingo@mysql.com's avatar
    BUG#6034 - Error code 124: Wrong medium type. · ea8882be
    ingo@mysql.com authored
    Version for 5.0. Committed for merge.
    If the result table is one of the select tables in INSERT SELECT,
    we must not disable the result tables indexes before selecting.
    Now the preparation is split into two prepare methods.
    The first detects the situation and defers some preparations
    until the second phase.
    ea8882be
sql_select.cc 392 KB