summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorhezx@mail.hezx.com <>2008-01-06 20:16:28 +0800
committerhezx@mail.hezx.com <>2008-01-06 20:16:28 +0800
commit87abfe06e366791e236a56b3cc38813fd7f954d4 (patch)
tree221a45e6d38a1ee748681681a0ba62a07d44e653 /sql
parente2676d0f1ce82af4d45329e6db522e43779755ab (diff)
downloadmariadb-git-87abfe06e366791e236a56b3cc38813fd7f954d4.tar.gz
Replace one overlooked return with DBUG_RETURN in function log_loaded_block
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 7787a0980fd..f2312afa878 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -1578,7 +1578,7 @@ int log_loaded_block(IO_CACHE* file)
lf_info= (LOAD_FILE_INFO*) file->arg;
if (lf_info->last_pos_in_file != HA_POS_ERROR &&
lf_info->last_pos_in_file >= my_b_get_pos_in_file(file))
- return 0;
+ DBUG_RETURN(0);
for (block_len= my_b_get_bytes_in_buffer(file); block_len > 0;
buffer += min(block_len, max_event_size),