summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2008-08-11 15:08:12 -0600
committerMarc Alff <marc.alff@sun.com>2008-08-11 15:08:12 -0600
commitb4418b5c3ad3badbb1c55eafdc0a1584824a3202 (patch)
treeba7ea899245a21f943fd2b67ed90314fd7b345c2 /mysys
parent26ed51d09593014b84aa724dd3f0f6e97d9a38d9 (diff)
downloadmariadb-git-b4418b5c3ad3badbb1c55eafdc0a1584824a3202.tar.gz
Bug#37302 (missing DBUG_RETURN macro in function "find_key_block" (5.0 only))
Fixed missing DBUG_RETURN in the function find_key_block
Diffstat (limited to 'mysys')
-rw-r--r--mysys/mf_keycache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c
index f27ade7bfc0..0720d172317 100644
--- a/mysys/mf_keycache.c
+++ b/mysys/mf_keycache.c
@@ -1382,7 +1382,7 @@ restart:
/* We don't need the page in the cache: we are going to write on disk */
hash_link->requests--;
unlink_hash(keycache, hash_link);
- return 0;
+ DBUG_RETURN(0);
}
if (!(block->status & BLOCK_IN_FLUSH))
{
@@ -1399,7 +1399,7 @@ restart:
flag (see the code below that handles reading requests).
*/
free_block(keycache, block);
- return 0;
+ DBUG_RETURN(0);
}
/* Wait intil the page is flushed on disk */
hash_link->requests--;
@@ -1429,7 +1429,7 @@ restart:
/* Invalidate page in the block if it has not been done yet */
if (block->status)
free_block(keycache, block);
- return 0;
+ DBUG_RETURN(0);
}
if (page_status == PAGE_READ &&