mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#34183 Missing DBUG_RETURN in alloc_root
DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
This commit is contained in:
@ -202,7 +202,7 @@ void *alloc_root(MEM_ROOT *mem_root, size_t length)
|
|||||||
{
|
{
|
||||||
if (mem_root->error_handler)
|
if (mem_root->error_handler)
|
||||||
(*mem_root->error_handler)();
|
(*mem_root->error_handler)();
|
||||||
return((void*) 0); /* purecov: inspected */
|
DBUG_RETURN((void*) 0); /* purecov: inspected */
|
||||||
}
|
}
|
||||||
mem_root->block_num++;
|
mem_root->block_num++;
|
||||||
next->next= *prev;
|
next->next= *prev;
|
||||||
|
Reference in New Issue
Block a user