pkgsrc/databases/mysql-cluster/patches/patch-mysys_stacktrace.c
jnemeth 7697633caf MySQL Cluster is a highly scalable, real-time, ACID-compliant
transactional database, combining 99.999% availability with the
low TCO of open source.

Designed around a distributed, multi-master architecture with no
single point of failure, MySQL Cluster scales horizontally on
commodity hardware to serve read and write intensive workloads,
accessed via SQL and NoSQL interfaces.
2014-12-01 05:57:48 +00:00

13 lines
460 B
C

$NetBSD: patch-mysys_stacktrace.c,v 1.1.1.1 2014/12/01 05:58:03 jnemeth Exp $
--- mysys/stacktrace.c.orig 2013-01-22 16:54:49.000000000 +0000
+++ mysys/stacktrace.c
@@ -420,7 +420,7 @@ void my_write_core(int sig)
{
signal(sig, SIG_DFL);
pthread_kill(pthread_self(), sig);
-#if defined(P_MYID) && !defined(SCO)
+#if HAVE_SIGSEND && defined(P_MYID) && !defined(SCO)
/* On Solaris, the above kill is not enough */
sigsend(P_PID,P_MYID,sig);
#endif