Commit 81d3dadb authored by Marko Mäkelä's avatar Marko Mäkelä

Bug#54358 follow-up: Correct some error handling.

parent 5754382c
......@@ -3627,11 +3627,8 @@ row_search_for_mysql(
ut_a(trx->isolation_level
== TRX_ISO_READ_UNCOMMITTED);
err = DB_TOO_BIG_RECORD;
/* We let the main loop to do the
error handling */
goto shortcut_fails_too_big_rec;
/* Proceed as in case SEL_RETRY. */
break;
}
mtr_commit(&mtr);
......@@ -3671,7 +3668,7 @@ row_search_for_mysql(
default:
ut_ad(0);
}
shortcut_fails_too_big_rec:
mtr_commit(&mtr);
mtr_start(&mtr);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment