#At file:///home/jonas/src/telco-7.0/ based on revid:jonas@stripped
4104 jonas oreland 2011-01-12
ndb - fix compile error for ndbmtd on platforms without xchg(possibly emulated) (apparently none...)
modified:
storage/ndb/src/kernel/vm/mt.cpp
=== modified file 'storage/ndb/src/kernel/vm/mt.cpp'
--- a/storage/ndb/src/kernel/vm/mt.cpp 2011-01-04 19:22:29 +0000
+++ b/storage/ndb/src/kernel/vm/mt.cpp 2011-01-12 07:49:59 +0000
@@ -370,7 +370,7 @@ inline
void
lock(struct thr_mutex<SZ>* sl)
{
- NdbMutex_Lock(&sl.m_mutex);
+ NdbMutex_Lock(&sl->m_mutex);
}
template <unsigned SZ>
@@ -379,7 +379,7 @@ inline
void
unlock(struct thr_mutex<SZ>* sl)
{
- NdbMutex_Unlock(&sl.m_mutex);
+ NdbMutex_Unlock(&sl->m_mutex);
}
template <unsigned SZ>
@@ -388,7 +388,7 @@ inline
int
trylock(struct thr_mutex<SZ> * sl)
{
- return NdbMutex_Trylock(&sl.m_mutex);
+ return NdbMutex_Trylock(&sl->m_mutex);
}
/**
Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20110112074959-xmxvzi8y3ylay0sn.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (jonas:4104) | jonas oreland | 12 Jan |