diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2010-12-13 17:13:01 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2010-12-13 17:13:01 +0100 |
commit | fcd44f727dc5f6c6e92517d190018e2221fd4ff4 (patch) | |
tree | 2d21c3e909e033669e94ff609dc73456ac17c223 /include | |
parent | 0e77c3295a83eaaf3ac37e13c4d2c7a467add12e (diff) | |
download | mariadb-git-fcd44f727dc5f6c6e92517d190018e2221fd4ff4.tar.gz |
Bug #58426 Crashing tests not failing as they are supposed to on Solaris 10 debug
On this platform we seem to get lots of other signals
while waiting for SIGKILL to be delivered.
Solution: use sigsuspend(<all signals blocked>)
Diffstat (limited to 'include')
-rw-r--r-- | include/my_dbug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h index f08e94a1882..1ae9a50c76d 100644 --- a/include/my_dbug.h +++ b/include/my_dbug.h @@ -160,7 +160,8 @@ extern void _db_flush_(); #ifdef __WIN__ #define DBUG_SUICIDE() DBUG_ABORT() #else -#define DBUG_SUICIDE() (_db_flush_(), kill(getpid(), SIGKILL), pause()) +extern void _db_suicide_(); +#define DBUG_SUICIDE() (_db_flush_(), _db_suicide_()) #endif #else /* No debugger */ |