ports/databases/mysql94-server/files/patch-include_my__stacktrace.h
Jochen Neumeister ef1428d2b5 databases/mysql94-{server|client}: add new Ports
Welcome MySQL 9.4

What is new in MySQL9.4:
https://dev.mysql.com/doc/relnotes/mysql/9.4/en/news-9-4-0.html

MySQL8.4+ supports only 64-bit platforms!

Sponsored by:	Netzkommune GmbH
2025-10-26 16:28:24 +01:00

12 lines
517 B
C

--- include/my_stacktrace.h.orig 2024-04-10 06:26:28 UTC
+++ include/my_stacktrace.h
@@ -45,7 +45,7 @@
_WIN32 - Windows
HAVE_EXT_BACKTRACE - Unixes without backtrace(3)
*/
-#if defined(HAVE_BACKTRACE) || defined(_WIN32) || defined(HAVE_EXT_BACKTRACE)
+#if (defined(HAVE_BACKTRACE) && (defined(__aarch64__) || defined(__amd64__))) || defined(_WIN32) || defined(HAVE_EXT_BACKTRACE)
#define HAVE_STACKTRACE 1
void my_init_stacktrace();
void my_print_stacktrace(const uchar *stack_bottom, ulong thread_stack);