summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorthek@adventure.(none) <>2008-04-07 11:29:45 +0200
committerthek@adventure.(none) <>2008-04-07 11:29:45 +0200
commit27b6c17d94e3fe47f12b5d5f6c6d485ad219f3b8 (patch)
tree9ed0509271c01670c7eab8244e509d8ef48d36a8 /mysys
parente392f406f5127c98fb07f596b85e8f1b0ffccc6c (diff)
downloadmariadb-git-27b6c17d94e3fe47f12b5d5f6c6d485ad219f3b8.tar.gz
Bug#34183 Missing DBUG_RETURN in alloc_root
DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_alloc.c b/mysys/my_alloc.c
index 9203ce9c34e..2607ea57d08 100644
--- a/mysys/my_alloc.c
+++ b/mysys/my_alloc.c
@@ -202,7 +202,7 @@ void *alloc_root(MEM_ROOT *mem_root, size_t length)
{
if (mem_root->error_handler)
(*mem_root->error_handler)();
- return((void*) 0); /* purecov: inspected */
+ DBUG_RETURN((void*) 0); /* purecov: inspected */
}
mem_root->block_num++;
next->next= *prev;