Commit febc603b authored by unknown's avatar unknown

os0sync.c:

  Add diagnostics to track why a semaphore creation failed on Windows ME


innobase/os/os0sync.c:
  Add diagnostics to track why a semaphore creation failed on Windows ME
parent d9cdfc05
......@@ -49,6 +49,12 @@ os_event_create(
TRUE, /* Manual reset */
FALSE, /* Initial state nonsignaled */
name);
if (!event) {
fprintf(stderr,
"InnoDB: Could not create a Windows event semaphore; Windows error %lu\n",
(ulint)GetLastError());
}
ut_a(event);
return(event);
......
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