Commit 6c1d9fd9 authored by Calvin Sun's avatar Calvin Sun

Fix an error introduced in a follow-up fix of Bug#57232 by Sunny Bains

revno: 3185
revid: sunny.bains@oracle.com-20101018060544-wo81q6kbl3la1uq0
parent 38f54271
...@@ -136,7 +136,7 @@ os_cond_wait_timed( ...@@ -136,7 +136,7 @@ os_cond_wait_timed(
#ifndef __WIN__ #ifndef __WIN__
const struct timespec* abstime /*!< in: timeout */ const struct timespec* abstime /*!< in: timeout */
#else #else
ulint time_in_ms /*!< in: timeout in DWORD time_in_ms /*!< in: timeout in
milliseconds*/ milliseconds*/
#endif /* !__WIN__ */ #endif /* !__WIN__ */
) )
...@@ -655,7 +655,7 @@ os_event_wait_time_low( ...@@ -655,7 +655,7 @@ os_event_wait_time_low(
ut_a(event); ut_a(event);
if (time_in_usec != OS_SYNC_INFINITE_TIME) { if (time_in_usec != OS_SYNC_INFINITE_TIME) {
time_in_ms = time_in_ms / 1000; time_in_ms = time_in_usec / 1000;
err = WaitForSingleObject(event->handle, time_in_ms); err = WaitForSingleObject(event->handle, time_in_ms);
} else { } else {
err = WaitForSingleObject(event->handle, INFINITE); err = WaitForSingleObject(event->handle, INFINITE);
......
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