• Georgi Kodinov's avatar
    Bug #47788: Crash in TABLE_LIST::hide_view_error on · a06db22c
    Georgi Kodinov authored
      UPDATE + VIEW + SP + MERGE + ALTER
    
    When cleaning up the stored procedure's internal 
    structures the flag to ignore the errors for 
    INSERT/UPDATE IGNORE was not cleaned up.
    As a result error ignoring was on during name 
    resolution. And this is an abnormal situation : the
    SELECT_LEX flag can be on only during query execution.
    
    Fixed by correctly cleaning up the SELECT_LEX flag 
    when reusing the SELECT_LEX in a second execution.
    a06db22c
sql_prepare.cc 103 KB