Commit c2323bae authored by unknown's avatar unknown

trx0trx.h, trx0trx.ic, row0mysql.c:

  Fix another bug in the fix of Bug #3300


innobase/row/row0mysql.c:
  Fix another bug in the fix of Bug #3300
innobase/include/trx0trx.ic:
  Fix another bug in the fix of Bug #3300
innobase/include/trx0trx.h:
  Fix another bug in the fix of Bug #3300
parent 5bcbe404
...@@ -29,8 +29,8 @@ trx_reset_new_rec_lock_info( ...@@ -29,8 +29,8 @@ trx_reset_new_rec_lock_info(
/*========================*/ /*========================*/
trx_t* trx); /* in: transaction struct */ trx_t* trx); /* in: transaction struct */
/***************************************************************** /*****************************************************************
Registers that we have set a new record lock on an index. We only have Registers that we have set a new record lock on an index. We only have space
space to store 2 indexes! If this is called more than twice after 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. */ trx_reset_new_rec_lock_info(), then this function does nothing. */
UNIV_INLINE UNIV_INLINE
void void
......
...@@ -52,8 +52,8 @@ trx_reset_new_rec_lock_info( ...@@ -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 Registers that we have set a new record lock on an index. We only have space
space to store 2 indexes! If this is called more than twice after 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. */ trx_reset_new_rec_lock_info(), then this function does nothing. */
UNIV_INLINE UNIV_INLINE
void void
......
...@@ -1517,7 +1517,7 @@ row_unlock_for_mysql( ...@@ -1517,7 +1517,7 @@ row_unlock_for_mysql(
&mtr); &mtr);
} }
rec = btr_pcur_get_rec(pcur); rec = btr_pcur_get_rec(clust_pcur);
mutex_enter(&kernel_mutex); mutex_enter(&kernel_mutex);
......
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