mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge branch 10.3 into 10.4
This commit is contained in:
commit
681b7784b6
46 changed files with 733 additions and 341 deletions
|
|
@ -1271,6 +1271,8 @@ static void fetch_data_into_cache_low(trx_i_s_cache_t *cache, const trx_t *trx)
|
|||
|
||||
static void fetch_data_into_cache(trx_i_s_cache_t *cache)
|
||||
{
|
||||
const trx_t *const purge_trx= purge_sys.query ? purge_sys.query->trx : NULL;
|
||||
|
||||
ut_ad(lock_mutex_own());
|
||||
trx_i_s_cache_clear(cache);
|
||||
|
||||
|
|
@ -1280,7 +1282,7 @@ static void fetch_data_into_cache(trx_i_s_cache_t *cache)
|
|||
trx != NULL;
|
||||
trx= UT_LIST_GET_NEXT(trx_list, trx))
|
||||
{
|
||||
if (trx->state != TRX_STATE_NOT_STARTED && trx != purge_sys.query->trx)
|
||||
if (trx != purge_trx && trx->state != TRX_STATE_NOT_STARTED)
|
||||
{
|
||||
mutex_enter(&trx->mutex);
|
||||
if (trx->state != TRX_STATE_NOT_STARTED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue