mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
dequeued_count my_atomic to Atomic_counter
Also allocate inuse_relaylog with new rather than my_malloc(MY_ZEROFILL).
This commit is contained in:
@ -1775,7 +1775,7 @@ rpl_parallel_thread::inuse_relaylog_refcount_update()
|
||||
inuse_relaylog *ir= accumulated_ir_last;
|
||||
if (ir)
|
||||
{
|
||||
my_atomic_add64(&ir->dequeued_count, accumulated_ir_count);
|
||||
ir->dequeued_count+= accumulated_ir_count;
|
||||
accumulated_ir_count= 0;
|
||||
accumulated_ir_last= NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user