mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed errors in the calls of the macros my_atomic_rwlock_wrlock, my_atomic_rwlock_wrunlock.
This commit is contained in:
@ -147,9 +147,9 @@ inline void store_address_if_first(void **dest, void **src, bool is_safe)
|
||||
else
|
||||
{
|
||||
char *null= NULL;
|
||||
my_atomic_rwlock_wrlock(statistics_lock);
|
||||
my_atomic_rwlock_wrlock(&statistics_lock);
|
||||
my_atomic_casptr(dest, (void **) &null, *src)
|
||||
my_atomic_rwlock_wrunlock(statistics_lock);
|
||||
my_atomic_rwlock_wrunlock(&statistics_lock);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user