1
0
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:
heikki@hundin.mysql.fi
2002-09-08 00:21:13 +03:00
parent d7bf8c2e6e
commit 6cc7c5984b

View File

@@ -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);