• Georgi Kodinov's avatar
    Bug #47788: Crash in TABLE_LIST::hide_view_error on · 74b0f6be
    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.
    74b0f6be
sql_prepare.cc 103 KB