• Sergei Golubchik's avatar
    crash in main.views (and other view + PS tests) · e19b07e6
    Sergei Golubchik authored
    When a view is merged, mark its select_lex as already optimized, otherwise
    its where clause (which doesn't have to be a valid Item after merging)
    might be accessed later. But don't do that for inserts (where a view cannot
    be simply merged, if one later needs to insert into it).
    e19b07e6
sql_derived.cc 30.7 KB