Skip to content
Permalink
Browse files
fil_name_process(): Remove unused return value
  • Loading branch information
dr-m committed Aug 23, 2018
1 parent 9a81540 commit c164d0c
Showing 1 changed file with 3 additions and 10 deletions.
@@ -194,27 +194,23 @@ void (*log_file_op)(ulint space_id, const byte* flags,
@param[in,out] name file name
@param[in] len length of the file name
@param[in] space_id the tablespace ID
@param[in] deleted whether this is a MLOG_FILE_DELETE record
@retval true if able to process file successfully.
@retval false if unable to process the file */
@param[in] deleted whether this is a MLOG_FILE_DELETE record */
static
bool
void
fil_name_process(
char* name,
ulint len,
ulint space_id,
bool deleted)
{
if (srv_operation == SRV_OPERATION_BACKUP) {
return true;
return;
}

ut_ad(srv_operation == SRV_OPERATION_NORMAL
|| srv_operation == SRV_OPERATION_RESTORE
|| srv_operation == SRV_OPERATION_RESTORE_EXPORT);

bool processed = true;

/* We will also insert space=NULL into the map, so that
further checks can ensure that a MLOG_FILE_NAME record was
scanned before applying any page records for the space_id. */
@@ -261,7 +257,6 @@ fil_name_process(
<< f.name << "' and '" << name << "'."
" You must delete one of them.";
recv_sys->found_corrupt_fs = true;
processed = false;
}
break;

@@ -314,7 +309,6 @@ fil_name_process(
" remove the .ibd file, you can set"
" --innodb_force_recovery.";
recv_sys->found_corrupt_fs = true;
processed = false;
break;
}

@@ -325,7 +319,6 @@ fil_name_process(
break;
}
}
return(processed);
}

/** Parse or process a MLOG_FILE_* record.

0 comments on commit c164d0c

Please sign in to comment.