mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Fix an error introduced in a follow-up fix of Bug#57232 by Sunny Bains
revno: 3185 revid: sunny.bains@oracle.com-20101018060544-wo81q6kbl3la1uq0
This commit is contained in:
parent
38f5427192
commit
6c1d9fd9a9
1 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ os_cond_wait_timed(
|
|||
#ifndef __WIN__
|
||||
const struct timespec* abstime /*!< in: timeout */
|
||||
#else
|
||||
ulint time_in_ms /*!< in: timeout in
|
||||
DWORD time_in_ms /*!< in: timeout in
|
||||
milliseconds*/
|
||||
#endif /* !__WIN__ */
|
||||
)
|
||||
|
|
@ -655,7 +655,7 @@ os_event_wait_time_low(
|
|||
ut_a(event);
|
||||
|
||||
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);
|
||||
} else {
|
||||
err = WaitForSingleObject(event->handle, INFINITE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue