Commit e13cd5ab authored by Igor Babaev's avatar Igor Babaev

Fixed errors in the calls of the macros my_atomic_rwlock_wrlock, my_atomic_rwlock_wrunlock.

parent 6eace757
...@@ -147,9 +147,9 @@ inline void store_address_if_first(void **dest, void **src, bool is_safe) ...@@ -147,9 +147,9 @@ inline void store_address_if_first(void **dest, void **src, bool is_safe)
else else
{ {
char *null= NULL; char *null= NULL;
my_atomic_rwlock_wrlock(statistics_lock); my_atomic_rwlock_wrlock(&statistics_lock);
my_atomic_casptr(dest, (void **) &null, *src) my_atomic_casptr(dest, (void **) &null, *src)
my_atomic_rwlock_wrunlock(statistics_lock); my_atomic_rwlock_wrunlock(&statistics_lock);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment