os0sync.c:

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