mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
row_search_for_mysql(): Add assertions to track down Bug #53627.
This commit is contained in:
@@ -3611,6 +3611,13 @@ shortcut_fails_too_big_rec:
|
|||||||
trx->has_search_latch = FALSE;
|
trx->has_search_latch = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ut_ad(prebuilt->sql_stat_start || trx->conc_state == TRX_ACTIVE);
|
||||||
|
ut_ad(trx->conc_state == TRX_NOT_STARTED
|
||||||
|
|| trx->conc_state == TRX_ACTIVE);
|
||||||
|
ut_ad(prebuilt->sql_stat_start
|
||||||
|
|| prebuilt->select_lock_type != LOCK_NONE
|
||||||
|
|| trx->read_view);
|
||||||
|
|
||||||
trx_start_if_not_started(trx);
|
trx_start_if_not_started(trx);
|
||||||
|
|
||||||
if (trx->isolation_level <= TRX_ISO_READ_COMMITTED
|
if (trx->isolation_level <= TRX_ISO_READ_COMMITTED
|
||||||
|
Reference in New Issue
Block a user