Initial mysqlwsrep80

This commit is contained in:
Xavier Beaudouin
2024-01-24 10:33:30 +01:00
parent ef61d4684e
commit 53ecf53d1b
55 changed files with 2193 additions and 0 deletions

View File

@ -0,0 +1,15 @@
--- include/my_thread_os_id.h.orig 2019-09-20 08:30:51 UTC
+++ include/my_thread_os_id.h
@@ -84,8 +84,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;