diff options
author | unknown <hezx@mail.hezx.com> | 2008-01-06 20:16:28 +0800 |
---|---|---|
committer | unknown <hezx@mail.hezx.com> | 2008-01-06 20:16:28 +0800 |
commit | 7e555be488181ca12bb533d847a704c68f3adfb0 (patch) | |
tree | 221a45e6d38a1ee748681681a0ba62a07d44e653 /sql/sql_repl.cc | |
parent | bbbb77770b3008efbcb646b862acbf86854e1b1e (diff) | |
download | mariadb-git-7e555be488181ca12bb533d847a704c68f3adfb0.tar.gz |
Replace one overlooked return with DBUG_RETURN in function log_loaded_block
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 2 |
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), |