78943b8c66
Changelog: http://releases.galeracluster.com/mysql-wsrep-5.7.34-25.26/release-notes-mysql-wsrep-5.7.34-25.26.txt PR: 257455 Approved by: lwhsu (mentor, implicit)
11 lines
428 B
C++
11 lines
428 B
C++
--- sql/locks/shared_spin_lock.cc.orig 2021-06-22 10:50:24 UTC
|
|
+++ sql/locks/shared_spin_lock.cc
|
|
@@ -239,7 +239,7 @@ lock::Shared_spin_lock &lock::Shared_spin_lock::try_or
|
|
{
|
|
this->spin_exclusive_lock();
|
|
}
|
|
-#if defined(__APPLE__)
|
|
+#if defined(__APPLE__) || defined(__FreeBSD__)
|
|
my_atomic_store64(&this->m_exclusive_owner, reinterpret_cast<int64>(self));
|
|
#else
|
|
my_atomic_store64(&this->m_exclusive_owner, self);
|