Commit 48613934 authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fixed Windows compile issues

parent b82a4e41
...@@ -480,7 +480,8 @@ rw_lock_x_unlock_func( ...@@ -480,7 +480,8 @@ rw_lock_x_unlock_func(
If we are not the last unlocker, we correct it later in the function, If we are not the last unlocker, we correct it later in the function,
which is harmless since we still hold the lock. */ which is harmless since we still hold the lock. */
/* TODO: are there any risks of a thread id == -1 on any platform? */ /* TODO: are there any risks of a thread id == -1 on any platform? */
os_thread_id_t local_writer_thread = lock->writer_thread; os_thread_id_t local_writer_thread;
local_write_thread = lock->writer_thread;
lock->writer_thread = -1; lock->writer_thread = -1;
#ifdef UNIV_SYNC_DEBUG #ifdef UNIV_SYNC_DEBUG
......
...@@ -3730,7 +3730,7 @@ os_aio_windows_handle( ...@@ -3730,7 +3730,7 @@ os_aio_windows_handle(
ut_a(slot->reserved); ut_a(slot->reserved);
if (global_segment != ULINT_UNDEFINED) { if (global_segment != ULINT_UNDEFINED) {
srv_set_io_thread_op_info(orig_seg, srv_set_io_thread_op_info(global_segment,
"get windows aio return value"); "get windows aio return value");
} }
......
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