Commit 87abfe06 authored by hezx@mail.hezx.com's avatar hezx@mail.hezx.com

Replace one overlooked return with DBUG_RETURN in function log_loaded_block

parent e2676d0f
...@@ -1578,7 +1578,7 @@ int log_loaded_block(IO_CACHE* file) ...@@ -1578,7 +1578,7 @@ int log_loaded_block(IO_CACHE* file)
lf_info= (LOAD_FILE_INFO*) file->arg; lf_info= (LOAD_FILE_INFO*) file->arg;
if (lf_info->last_pos_in_file != HA_POS_ERROR && if (lf_info->last_pos_in_file != HA_POS_ERROR &&
lf_info->last_pos_in_file >= my_b_get_pos_in_file(file)) 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; for (block_len= my_b_get_bytes_in_buffer(file); block_len > 0;
buffer += min(block_len, max_event_size), buffer += min(block_len, max_event_size),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment