• Rucha Deodhar's avatar
    MDEV-22654: Assertion `!is_set() || (m_status == DA_OK_BULK && is_bulk_op())' · a5366255
    Rucha Deodhar authored
    failed in Diagnostics_area::set_ok_status on FUNCTION replace
    
    When there is REPLACE in the statement, sp_drop_routine_internal() returns
    0 (SP_OK) on success which is then assigned to ret. So ret becomes false
    and the error state is lost. The expression inside DBUG_ASSERT()
    evaluates to false and thus the assertion failure.
    a5366255
create_drop_function.result 2.94 KB