• Dmitry Shulga's avatar
    Fixed bug #55421 - Protocol::end_statement(): Assertion `0' on · 70807d14
    Dmitry Shulga authored
    multi-table UPDATE IGNORE.
    The problem was that if there was an active SELECT statement
    during trigger execution, an error risen during the execution
    may cause a crash. The fix is to temporary reset LEX::current_select
    before trigger execution and restore it afterwards. This way
    errors risen during the trigger execution are processed as
    if there was no active SELECT.
    70807d14
sql_trigger.cc 68.5 KB