Below is the list of changes that have just been committed into a local
5.1 repository of thek. When thek does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-04-07 11:29:45+02:00, thek@adventure.(none) +1 -0
Bug#34183 Missing DBUG_RETURN in alloc_root
DBUG_RETURN was missing form an exit path in 5.1 branch of alloc_root
mysys/my_alloc.c@stripped, 2008-04-07 11:29:43+02:00, thek@adventure.(none) +1 -1
Fixed missing DBUG_RETURN
diff -Nrup a/mysys/my_alloc.c b/mysys/my_alloc.c
--- a/mysys/my_alloc.c 2007-05-10 11:59:25 +02:00
+++ b/mysys/my_alloc.c 2008-04-07 11:29:43 +02:00
@@ -202,7 +202,7 @@ void *alloc_root(MEM_ROOT *mem_root, siz
{
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;