Commit 6cc7c598 authored by heikki@hundin.mysql.fi's avatar heikki@hundin.mysql.fi
Browse files

os0sync.c:

  Add diagnostics to track why a semaphore creation failed on Windows ME
parent d7bf8c2e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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);