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
cd805a5f
Commit
cd805a5f
authored
Mar 15, 2019
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup - remove unused variables and functions after MDEV-18917
parent
b6dc47a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
31 deletions
+0
-31
extra/mariabackup/backup_mysql.cc
extra/mariabackup/backup_mysql.cc
+0
-1
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+0
-30
No files found.
extra/mariabackup/backup_mysql.cc
View file @
cd805a5f
...
@@ -333,7 +333,6 @@ get_mysql_vars(MYSQL *connection)
...
@@ -333,7 +333,6 @@ get_mysql_vars(MYSQL *connection)
char
*
version_comment_var
=
NULL
;
char
*
version_comment_var
=
NULL
;
char
*
innodb_version_var
=
NULL
;
char
*
innodb_version_var
=
NULL
;
char
*
have_backup_locks_var
=
NULL
;
char
*
have_backup_locks_var
=
NULL
;
char
*
have_backup_safe_binlog_info_var
=
NULL
;
char
*
log_bin_var
=
NULL
;
char
*
log_bin_var
=
NULL
;
char
*
lock_wait_timeout_var
=
NULL
;
char
*
lock_wait_timeout_var
=
NULL
;
char
*
wsrep_on_var
=
NULL
;
char
*
wsrep_on_var
=
NULL
;
...
...
extra/mariabackup/xtrabackup.cc
View file @
cd805a5f
...
@@ -1861,7 +1861,6 @@ xtrabackup_read_metadata(char *filename)
...
@@ -1861,7 +1861,6 @@ xtrabackup_read_metadata(char *filename)
{
{
FILE
*
fp
;
FILE
*
fp
;
my_bool
r
=
TRUE
;
my_bool
r
=
TRUE
;
int
t
;
fp
=
fopen
(
filename
,
"r"
);
fp
=
fopen
(
filename
,
"r"
);
if
(
!
fp
)
{
if
(
!
fp
)
{
...
@@ -5792,35 +5791,6 @@ innodb_free_param()
...
@@ -5792,35 +5791,6 @@ innodb_free_param()
free_tmpdir
(
&
mysql_tmpdir_list
);
free_tmpdir
(
&
mysql_tmpdir_list
);
}
}
/**************************************************************************
Store the current binary log coordinates in a specified file.
@return 'false' on error. */
static
bool
store_binlog_info
(
/*==============*/
const
char
*
filename
)
/*!< in: output file name */
{
FILE
*
fp
;
if
(
trx_sys_mysql_bin_log_name
[
0
]
==
'\0'
)
{
return
(
true
);
}
fp
=
fopen
(
filename
,
"w"
);
if
(
!
fp
)
{
msg
(
"mariabackup: failed to open '%s'
\n
"
,
filename
);
return
(
false
);
}
fprintf
(
fp
,
"%s
\t
"
UINT64PF
"
\n
"
,
trx_sys_mysql_bin_log_name
,
trx_sys_mysql_bin_log_pos
);
fclose
(
fp
);
return
(
true
);
}
static
void
static
void
xtrabackup_prepare_func
(
int
argc
,
char
**
argv
)
xtrabackup_prepare_func
(
int
argc
,
char
**
argv
)
{
{
...
...
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