diff options
author | unknown <heikki@hundin.mysql.fi> | 2002-09-08 00:21:13 +0300 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2002-09-08 00:21:13 +0300 |
commit | 94bbbc7f360ea6484f47d4cbe2e6151f0ef7fc92 (patch) | |
tree | a2c48432eac7d0d1478b5080d30a7f4dda475da5 /innobase | |
parent | d857c6943b6bc89e9e7530ec9227fa1e531dd0be (diff) | |
download | mariadb-git-94bbbc7f360ea6484f47d4cbe2e6151f0ef7fc92.tar.gz |
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
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/os/os0sync.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/os/os0sync.c b/innobase/os/os0sync.c index c1345de0d55..14677ede20f 100644 --- a/innobase/os/os0sync.c +++ b/innobase/os/os0sync.c @@ -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); |