mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 18:46:38 -04:00
Welcome MySQL 8.4 What is new in MySQL8.4 since MySQL 8.0: https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html HINT: MySQL8.2+ supports only 64-bit platforms!!! special thanks for the majority of the work on this port: samm aka Alex S.
15 lines
430 B
C
15 lines
430 B
C
--- include/my_thread_os_id.h.orig 2024-04-10 06:26:28 UTC
|
|
+++ include/my_thread_os_id.h
|
|
@@ -85,8 +85,12 @@ static inline my_thread_os_id_t my_thread_os_id() {
|
|
return pthread_getthreadid_np();
|
|
#else
|
|
#ifdef HAVE_INTEGER_PTHREAD_SELF
|
|
+# ifdef __DragonFly__
|
|
+ return syscall(SYS_lwp_gettid);
|
|
+# else
|
|
/* Unknown platform, fallback. */
|
|
return pthread_self();
|
|
+# endif
|
|
#else
|
|
/* Feature not available. */
|
|
return 0;
|