• Aleksey Midenkov's avatar
    MDEV-14846 InnoDB: assertion on trx->state because of deadlock error ignored · 275e7d23
    Aleksey Midenkov authored
    On deadlock transaction is rolled back (and trx->state is cleared) but
    SELECT continued the loop because evaluate_join_record() ignored the
    error status returned from lower join evaluation. val_int() does not
    return error status so it is checked by thd->is_error().
    
    Test case was created by Thirunarayanan Balathandayuthapani
    <thiru@mariadb.com>
    275e7d23
sql_select.cc 877 KB