mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-26637: (explicit length) ASAN: main.metadata and user_variables.basic MTR failures after MDEV-26572
Use explicit length for hash record length
This commit is contained in:
@ -2347,7 +2347,8 @@ rpl_parallel::find(uint32 domain_id)
|
||||
struct rpl_parallel_entry *e;
|
||||
|
||||
if (!(e= (rpl_parallel_entry *)my_hash_search(&domain_hash,
|
||||
(const uchar *)&domain_id, 0)))
|
||||
(const uchar *)&domain_id,
|
||||
sizeof(domain_id))))
|
||||
{
|
||||
/* Allocate a new, empty one. */
|
||||
ulong count= opt_slave_domain_parallel_threads;
|
||||
|
Reference in New Issue
Block a user