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 | febc603b6f68abcc5464acf1993f18e751a12cc1 (patch) | |
tree | a2c48432eac7d0d1478b5080d30a7f4dda475da5 /innobase | |
parent | d9cdfc0519144771638218b14848c2735b736db6 (diff) | |
download | mariadb-git-febc603b6f68abcc5464acf1993f18e751a12cc1.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); |