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

Replace one overlooked return with DBUG_RETURN in function log_loaded_block

parent e2676d0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),