mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Fix typo that breaks compilation on platforms without atomics.
This commit is contained in:
parent
76c3981e43
commit
16fb2963ff
1 changed files with 2 additions and 2 deletions
|
@ -1131,9 +1131,9 @@ rpl_parallel_thread::inuse_relaylog_refcount_update()
|
|||
inuse_relaylog *ir= accumulated_ir_last;
|
||||
if (ir)
|
||||
{
|
||||
my_atomic_rwlock_wrlock(&ir->rli->inuse_relaylog_atomic_lock);
|
||||
my_atomic_rwlock_wrlock(&ir->inuse_relaylog_atomic_lock);
|
||||
my_atomic_add64(&ir->dequeued_count, accumulated_ir_count);
|
||||
my_atomic_rwlock_wrunlock(&ir->rli->inuse_relaylog_atomic_lock);
|
||||
my_atomic_rwlock_wrunlock(&ir->inuse_relaylog_atomic_lock);
|
||||
accumulated_ir_count= 0;
|
||||
accumulated_ir_last= NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue