blob: e33c2943509a383a9c4172b50c4b4e6d5daff788 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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);
|