summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-01-27 22:38:56 +0100
committerserg@serg.mylan <>2005-01-27 22:38:56 +0100
commit3c5060981f6de05473a981df259c1a42e084cc81 (patch)
tree6715c798eca742afb2f6f41acc10e122a8d50aa0 /include/my_pthread.h
parent2c0d5bb41dadde3b108f0a1e67b513aa45015cd3 (diff)
downloadmariadb-git-3c5060981f6de05473a981df259c1a42e084cc81.tar.gz
query_id and my_xid -> ulonglong
fix for binlog+autocommit+tclog comments, style fixes
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r--include/my_pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h
index f108bc02801..10556b49c41 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -692,7 +692,7 @@ static inline bool thread_safe_dec_and_test(ulong &V, pthread_mutex_t *L)
{
ulong res;
pthread_mutex_lock(L);
- res=V--;
+ res=--V;
pthread_mutex_unlock(L);
return res==0;
}