1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

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

This commit is contained in:
Marko Mäkelä
2010-06-30 12:38:47 +03:00
parent 707a3bef6e
commit 38d8ca8cec

View File

@@ -3627,11 +3627,8 @@ row_search_for_mysql(
ut_a(trx->isolation_level ut_a(trx->isolation_level
== TRX_ISO_READ_UNCOMMITTED); == TRX_ISO_READ_UNCOMMITTED);
err = DB_TOO_BIG_RECORD; /* Proceed as in case SEL_RETRY. */
break;
/* We let the main loop to do the
error handling */
goto shortcut_fails_too_big_rec;
} }
mtr_commit(&mtr); mtr_commit(&mtr);
@@ -3671,7 +3668,7 @@ release_search_latch_if_needed:
default: default:
ut_ad(0); ut_ad(0);
} }
shortcut_fails_too_big_rec:
mtr_commit(&mtr); mtr_commit(&mtr);
mtr_start(&mtr); mtr_start(&mtr);
} }