mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
trx0trx.h, trx0trx.ic, row0mysql.c:
Fix another bug in the fix of Bug #3300
This commit is contained in:
parent
50eab8cf01
commit
44c0f57d53
3 changed files with 5 additions and 5 deletions
|
|
@ -29,8 +29,8 @@ trx_reset_new_rec_lock_info(
|
|||
/*========================*/
|
||||
trx_t* trx); /* in: transaction struct */
|
||||
/*****************************************************************
|
||||
Registers that we have set a new record lock on an index. We only have
|
||||
space to store 2 indexes! If this is called more than twice after
|
||||
Registers that we have set a new record lock on an index. We only have space
|
||||
to store 2 indexes! If this is called to store more than 2 indexes after
|
||||
trx_reset_new_rec_lock_info(), then this function does nothing. */
|
||||
UNIV_INLINE
|
||||
void
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ trx_reset_new_rec_lock_info(
|
|||
}
|
||||
|
||||
/*****************************************************************
|
||||
Registers that we have set a new record lock on an index. We only have
|
||||
space to store 2 indexes! If this is called more than twice after
|
||||
Registers that we have set a new record lock on an index. We only have space
|
||||
to store 2 indexes! If this is called to store more than 2 indexes after
|
||||
trx_reset_new_rec_lock_info(), then this function does nothing. */
|
||||
UNIV_INLINE
|
||||
void
|
||||
|
|
|
|||
|
|
@ -1517,7 +1517,7 @@ row_unlock_for_mysql(
|
|||
&mtr);
|
||||
}
|
||||
|
||||
rec = btr_pcur_get_rec(pcur);
|
||||
rec = btr_pcur_get_rec(clust_pcur);
|
||||
|
||||
mutex_enter(&kernel_mutex);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue