summaryrefslogtreecommitdiff
path: root/sql/stacktrace.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-11-22 14:40:38 +0200
committerunknown <monty@hundin.mysql.fi>2001-11-22 14:40:38 +0200
commite673b6dcf8b55ec4457ab554a1c09ccf3c079463 (patch)
treeed7b5ac619c61e789b26d5243f8391f68a3fa04a /sql/stacktrace.c
parentd576cd65d00d23b634e0ef4254660e67c055c045 (diff)
parent7ef7d93726929ec678a8b07bed1be7bb56ad4b10 (diff)
downloadmariadb-git-e673b6dcf8b55ec4457ab554a1c09ccf3c079463.tar.gz
merge
BitKeeper/etc/logging_ok: auto-union Docs/manual.texi: Auto merged innobase/srv/srv0srv.c: Auto merged myisam/mi_check.c: Auto merged myisam/mi_open.c: Auto merged myisam/mi_packrec.c: Auto merged myisam/myisamdef.h: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/t/fulltext.test: Auto merged sql/stacktrace.c: Auto merged sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_update.cc: Auto merged
Diffstat (limited to 'sql/stacktrace.c')
-rw-r--r--sql/stacktrace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/stacktrace.c b/sql/stacktrace.c
index 32bc37f5500..4f8fde31d3d 100644
--- a/sql/stacktrace.c
+++ b/sql/stacktrace.c
@@ -218,5 +218,9 @@ void write_core(int sig)
{
signal(sig, SIG_DFL);
pthread_kill(pthread_self(), sig);
+#if defined(P_MYID)
+ /* On Solaris, the above kill is not enough */
+ sigsend(P_PID,P_MYID,sig);
+#endif
}
#endif