mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
os0sync.c:
Add diagnostics to track why a semaphore creation failed on Windows ME
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user