mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
cleanup: remove unused function argument
This commit is contained in:
parent
c583360359
commit
fe7e334f3e
6 changed files with 10 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue