Skip to content

Commit

Permalink
After-merge fix
Browse files Browse the repository at this point in the history
Merge a part of commit 25af2a1.
This was forgotten in the
merge commit e41eb04.
  • Loading branch information
dr-m committed Aug 29, 2019
1 parent e50b2bd commit d4246e2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions storage/innobase/include/trx0sys.h
Expand Up @@ -644,11 +644,8 @@ class rw_trx_hash_t
{
mutex_enter(&element->mutex);
lf_hash_search_unpin(pins);
trx= element->trx;
if (!trx);
else if (UNIV_UNLIKELY(trx_id != trx->id))
trx= NULL;
else {
if ((trx= element->trx)) {
DBUG_ASSERT(trx_id == trx->id);
if (do_ref_count)
trx->reference();
ut_d(validate_element(trx));
Expand Down

0 comments on commit d4246e2

Please sign in to comment.