diff options
-rw-r--r-- | storage/innobase/fil/fil0fil.cc | 10 | ||||
-rw-r--r-- | storage/innobase/include/fil0fil.h | 2 | ||||
-rw-r--r-- | storage/innobase/srv/srv0start.cc | 3 | ||||
-rw-r--r-- | storage/xtradb/fil/fil0fil.cc | 10 | ||||
-rw-r--r-- | storage/xtradb/include/fil0fil.h | 2 | ||||
-rw-r--r-- | storage/xtradb/srv/srv0start.cc | 2 |
6 files changed, 10 insertions, 19 deletions
diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc index bedec1f41f5..9d1662802ba 100644 --- a/storage/innobase/fil/fil0fil.cc +++ b/storage/innobase/fil/fil0fil.cc @@ -1975,8 +1975,6 @@ fil_read_first_page( lsn values in data files */ lsn_t* max_flushed_lsn, /*!< out: max of flushed lsn values in data files */ - ulint orig_space_id, /*!< in: original file space - id */ fil_space_crypt_t** crypt_data) /*< out: crypt data */ { byte* buf; @@ -3730,7 +3728,7 @@ fil_open_single_table_tablespace( #ifdef UNIV_LOG_ARCHIVE &space_arch_log_no, &space_arch_log_no, #endif /* UNIV_LOG_ARCHIVE */ - &def.lsn, &def.lsn, id, &def.crypt_data); + &def.lsn, &def.lsn, &def.crypt_data); def.valid = !def.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -3755,7 +3753,7 @@ fil_open_single_table_tablespace( #ifdef UNIV_LOG_ARCHIVE &remote.arch_log_no, &remote.arch_log_no, #endif /* UNIV_LOG_ARCHIVE */ - &remote.lsn, &remote.lsn, id, &remote.crypt_data); + &remote.lsn, &remote.lsn, &remote.crypt_data); remote.valid = !remote.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -3781,7 +3779,7 @@ fil_open_single_table_tablespace( #ifdef UNIV_LOG_ARCHIVE &dict.arch_log_no, &dict.arch_log_no, #endif /* UNIV_LOG_ARCHIVE */ - &dict.lsn, &dict.lsn, id, &dict.crypt_data); + &dict.lsn, &dict.lsn, &dict.crypt_data); dict.valid = !dict.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -4204,7 +4202,7 @@ check_first_page: #ifdef UNIV_LOG_ARCHIVE &fsp->arch_log_no, &fsp->arch_log_no, #endif /* UNIV_LOG_ARCHIVE */ - &fsp->lsn, &fsp->lsn, ULINT_UNDEFINED, &fsp->crypt_data)) { + &fsp->lsn, &fsp->lsn, &fsp->crypt_data)) { ib_logf(IB_LOG_LEVEL_ERROR, "%s in tablespace %s (table %s)", check_msg, fsp->filepath, tablename); diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index 9f6e1ac4f62..a3785292115 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -611,8 +611,6 @@ fil_read_first_page( lsn values in data files */ lsn_t* max_flushed_lsn, /*!< out: max of flushed lsn values in data files */ - ulint orig_space_id, /*!< in: file space id or - ULINT_UNDEFINED */ fil_space_crypt_t** crypt_data) /*!< out: crypt data */ __attribute__((warn_unused_result)); diff --git a/storage/innobase/srv/srv0start.cc b/storage/innobase/srv/srv0start.cc index be98ece404c..03fd34827f5 100644 --- a/storage/innobase/srv/srv0start.cc +++ b/storage/innobase/srv/srv0start.cc @@ -1025,8 +1025,7 @@ check_first_page: #ifdef UNIV_LOG_ARCHIVE min_arch_log_no, max_arch_log_no, #endif /* UNIV_LOG_ARCHIVE */ - min_flushed_lsn, max_flushed_lsn, - ULINT_UNDEFINED, &crypt_data); + min_flushed_lsn, max_flushed_lsn, &crypt_data); if (check_msg) { diff --git a/storage/xtradb/fil/fil0fil.cc b/storage/xtradb/fil/fil0fil.cc index 8a454a96c82..bb59c00f783 100644 --- a/storage/xtradb/fil/fil0fil.cc +++ b/storage/xtradb/fil/fil0fil.cc @@ -2012,8 +2012,6 @@ fil_read_first_page( lsn values in data files */ lsn_t* max_flushed_lsn, /*!< out: max of flushed lsn values in data files */ - ulint orig_space_id, /*!< in: original file space - id */ fil_space_crypt_t** crypt_data) /*< out: crypt data */ { byte* buf; @@ -3761,7 +3759,7 @@ fil_open_single_table_tablespace( if (def.success) { def.check_msg = fil_read_first_page( def.file, FALSE, &def.flags, &def.id, - &def.lsn, &def.lsn, id, &def.crypt_data); + &def.lsn, &def.lsn, &def.crypt_data); def.valid = !def.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -3783,7 +3781,7 @@ fil_open_single_table_tablespace( if (remote.success) { remote.check_msg = fil_read_first_page( remote.file, FALSE, &remote.flags, &remote.id, - &remote.lsn, &remote.lsn, id, &remote.crypt_data); + &remote.lsn, &remote.lsn, &remote.crypt_data); remote.valid = !remote.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -3806,7 +3804,7 @@ fil_open_single_table_tablespace( if (dict.success) { dict.check_msg = fil_read_first_page( dict.file, FALSE, &dict.flags, &dict.id, - &dict.lsn, &dict.lsn, id, &dict.crypt_data); + &dict.lsn, &dict.lsn, &dict.crypt_data); dict.valid = !dict.check_msg; /* Validate this single-table-tablespace with SYS_TABLES, @@ -4225,7 +4223,7 @@ check_first_page: fsp->success = TRUE; if (const char* check_msg = fil_read_first_page( fsp->file, FALSE, &fsp->flags, &fsp->id, - &fsp->lsn, &fsp->lsn, ULINT_UNDEFINED, &fsp->crypt_data)) { + &fsp->lsn, &fsp->lsn, &fsp->crypt_data)) { ib_logf(IB_LOG_LEVEL_ERROR, "%s in tablespace %s (table %s)", check_msg, fsp->filepath, tablename); diff --git a/storage/xtradb/include/fil0fil.h b/storage/xtradb/include/fil0fil.h index 29265c53f6b..cfada67ce14 100644 --- a/storage/xtradb/include/fil0fil.h +++ b/storage/xtradb/include/fil0fil.h @@ -606,8 +606,6 @@ fil_read_first_page( lsn values in data files */ lsn_t* max_flushed_lsn, /*!< out: max of flushed lsn values in data files */ - ulint orig_space_id, /*!< in: file space id or - ULINT_UNDEFINED */ fil_space_crypt_t** crypt_data) /*!< out: crypt data */ __attribute__((warn_unused_result)); diff --git a/storage/xtradb/srv/srv0start.cc b/storage/xtradb/srv/srv0start.cc index ef4547ed06f..aabe604cad6 100644 --- a/storage/xtradb/srv/srv0start.cc +++ b/storage/xtradb/srv/srv0start.cc @@ -1060,7 +1060,7 @@ skip_size_check: check_first_page: check_msg = fil_read_first_page( files[i], one_opened, &flags, &space, - min_flushed_lsn, max_flushed_lsn, ULINT_UNDEFINED, &crypt_data); + min_flushed_lsn, max_flushed_lsn, &crypt_data); if (check_msg) { |