mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
merge silly error
This commit is contained in:
commit
e2b66087e2
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ rw_lock_x_unlock_func(
|
|||
which is harmless since we still hold the lock. */
|
||||
/* TODO: are there any risks of a thread id == -1 on any platform? */
|
||||
os_thread_id_t local_writer_thread;
|
||||
local_write_thread = lock->writer_thread;
|
||||
local_writer_thread = lock->writer_thread;
|
||||
lock->writer_thread = -1;
|
||||
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
|
|
Loading…
Reference in a new issue