2021-07-28 09:24:24 +02:00
|
|
|
--- sql/locks/shared_spin_lock.cc.orig 2021-06-22 10:50:24 UTC
|
2021-04-10 17:28:33 +02:00
|
|
|
+++ sql/locks/shared_spin_lock.cc
|
|
|
|
@@ -239,7 +239,7 @@ lock::Shared_spin_lock &lock::Shared_spin_lock::try_or
|
|
|
|
{
|
|
|
|
this->spin_exclusive_lock();
|
|
|
|
}
|
2021-07-28 09:24:24 +02:00
|
|
|
-#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);
|