mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
After-merge fix
Merge a part of commit25af2a183b
. This was forgotten in the merge commite41eb044f1
.
This commit is contained in:
parent
e50b2bdbcf
commit
d4246e25e5
1 changed files with 2 additions and 5 deletions
|
@ -644,11 +644,8 @@ public:
|
|||
{
|
||||
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));
|
||||
|
|
Loading…
Add table
Reference in a new issue