mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Fixed Windows compile issues
This commit is contained in:
parent
207225d542
commit
27261d2d13
2 changed files with 3 additions and 2 deletions
|
@ -480,7 +480,8 @@ rw_lock_x_unlock_func(
|
|||
If we are not the last unlocker, we correct it later in the function,
|
||||
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 = lock->writer_thread;
|
||||
os_thread_id_t local_writer_thread;
|
||||
local_write_thread = lock->writer_thread;
|
||||
lock->writer_thread = -1;
|
||||
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
|
|
|
@ -3730,7 +3730,7 @@ os_aio_windows_handle(
|
|||
ut_a(slot->reserved);
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue