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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;