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
e62e285f
Commit
e62e285f
authored
Feb 19, 2020
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused function
parent
9ef2d29f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
storage/innobase/log/log0recv.cc
storage/innobase/log/log0recv.cc
+0
-21
No files found.
storage/innobase/log/log0recv.cc
View file @
e62e285f
...
...
@@ -1228,27 +1228,6 @@ recv_find_max_checkpoint_0(ulint* max_field)
return
(
DB_ERROR
);
}
/** Return number of ib_logfile0..100 files */
static
size_t
count_log_files
()
{
size_t
counter
=
0
;
for
(
int
i
=
0
;
i
<
101
;
i
++
)
{
auto
path
=
get_log_file_path
(
LOG_FILE_NAME_PREFIX
).
append
(
std
::
to_string
(
i
));
os_file_stat_t
stat
;
dberr_t
err
=
os_file_get_status
(
path
.
c_str
(),
&
stat
,
false
,
true
);
if
(
err
)
break
;
if
(
stat
.
type
!=
OS_FILE_TYPE_FILE
)
break
;
counter
++
;
}
return
counter
;
}
/** Same as cals_lsn_offset() except that it supports multiple files */
lsn_t
log_t
::
file
::
calc_lsn_offset_old
(
lsn_t
lsn
)
const
{
...
...
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