From 0afe57ba58fdfdc8a11a7d1d516a18753f35a37b Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 21 Nov 2001 15:08:01 +0200 Subject: Generate core file on Solaris. Docs/manual.texi: ChangeLog sql/mysqld.cc: Cleanup BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted --- sql/stacktrace.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/stacktrace.c') diff --git a/sql/stacktrace.c b/sql/stacktrace.c index 81d8debc27a..18db1949db9 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -218,5 +218,7 @@ void write_core(int sig) { signal(sig, SIG_DFL); pthread_kill(pthread_self(), sig); + /* On Solaris, the above kill is not enough */ + sigsend(P_PID,P_MYID,sig); } #endif -- cgit v1.2.1 From e0d3ed73a10f7e5a0d193b93fd77bfdb3f611c92 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Nov 2001 13:07:55 +0200 Subject: Portability fix --- sql/stacktrace.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/stacktrace.c') diff --git a/sql/stacktrace.c b/sql/stacktrace.c index 18db1949db9..ef4d2f97b90 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -218,7 +218,9 @@ void write_core(int sig) { signal(sig, SIG_DFL); pthread_kill(pthread_self(), sig); +#if defined(P_PID) && defined(P_MYID) /* On Solaris, the above kill is not enough */ sigsend(P_PID,P_MYID,sig); +#endif } #endif -- cgit v1.2.1 From 7ef7d93726929ec678a8b07bed1be7bb56ad4b10 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Nov 2001 13:15:17 +0200 Subject: Portability fix mysys/my_seek.c: Remove warning --- sql/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/stacktrace.c') diff --git a/sql/stacktrace.c b/sql/stacktrace.c index ef4d2f97b90..fba9927f5dd 100644 --- a/sql/stacktrace.c +++ b/sql/stacktrace.c @@ -218,7 +218,7 @@ void write_core(int sig) { signal(sig, SIG_DFL); pthread_kill(pthread_self(), sig); -#if defined(P_PID) && defined(P_MYID) +#if defined(P_MYID) /* On Solaris, the above kill is not enough */ sigsend(P_PID,P_MYID,sig); #endif -- cgit v1.2.1