Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fe7e334f
Commit
fe7e334f
authored
Jun 26, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: remove unused function argument
parent
c5833603
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
19 deletions
+10
-19
storage/innobase/fil/fil0fil.cc
storage/innobase/fil/fil0fil.cc
+4
-6
storage/innobase/include/fil0fil.h
storage/innobase/include/fil0fil.h
+0
-2
storage/innobase/srv/srv0start.cc
storage/innobase/srv/srv0start.cc
+1
-2
storage/xtradb/fil/fil0fil.cc
storage/xtradb/fil/fil0fil.cc
+4
-6
storage/xtradb/include/fil0fil.h
storage/xtradb/include/fil0fil.h
+0
-2
storage/xtradb/srv/srv0start.cc
storage/xtradb/srv/srv0start.cc
+1
-1
No files found.
storage/innobase/fil/fil0fil.cc
View file @
fe7e334f
...
...
@@ -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 @@ fil_validate_single_table_tablespace(
#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
);
...
...
storage/innobase/include/fil0fil.h
View file @
fe7e334f
...
...
@@ -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
));
...
...
storage/innobase/srv/srv0start.cc
View file @
fe7e334f
...
...
@@ -1025,8 +1025,7 @@ open_or_create_data_files(
#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
)
{
...
...
storage/xtradb/fil/fil0fil.cc
View file @
fe7e334f
...
...
@@ -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 @@ fil_validate_single_table_tablespace(
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
);
...
...
storage/xtradb/include/fil0fil.h
View file @
fe7e334f
...
...
@@ -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
));
...
...
storage/xtradb/srv/srv0start.cc
View file @
fe7e334f
...
...
@@ -1060,7 +1060,7 @@ open_or_create_data_files(
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment