Commit 2ceb1177 authored by Inaam Rana's avatar Inaam Rana

merge from 5.1

parents 1f5051d9 a8217b7c
...@@ -564,8 +564,6 @@ rw_lock_x_unlock_func( ...@@ -564,8 +564,6 @@ rw_lock_x_unlock_func(
if (lock->lock_word == 0) { if (lock->lock_word == 0) {
/* Last caller in a possible recursive chain. */ /* Last caller in a possible recursive chain. */
lock->recursive = FALSE; lock->recursive = FALSE;
UNIV_MEM_INVALID(&lock->writer_thread,
sizeof lock->writer_thread);
} }
#ifdef UNIV_SYNC_DEBUG #ifdef UNIV_SYNC_DEBUG
...@@ -610,8 +608,6 @@ rw_lock_x_unlock_direct( ...@@ -610,8 +608,6 @@ rw_lock_x_unlock_direct(
if (lock->lock_word == 0) { if (lock->lock_word == 0) {
lock->recursive = FALSE; lock->recursive = FALSE;
UNIV_MEM_INVALID(&lock->writer_thread,
sizeof lock->writer_thread);
} }
lock->lock_word += X_LOCK_DECR; lock->lock_word += X_LOCK_DECR;
......
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