Commit d4246e25 authored by Marko Mäkelä's avatar Marko Mäkelä

After-merge fix

Merge a part of commit 25af2a18.
This was forgotten in the
merge commit e41eb044.
parent e50b2bdb
......@@ -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));
......
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