Commit 27b6c17d authored by thek@adventure.(none)'s avatar thek@adventure.(none)

Bug#34183 Missing DBUG_RETURN in alloc_root

DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
parent e392f406
...@@ -202,7 +202,7 @@ void *alloc_root(MEM_ROOT *mem_root, size_t length) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment