Skip to content
Permalink
Browse files
Cleanup - remove unused variables and functions after MDEV-18917
  • Loading branch information
vaintroub committed Mar 15, 2019
1 parent b6dc47a commit cd805a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
@@ -333,7 +333,6 @@ get_mysql_vars(MYSQL *connection)
char *version_comment_var = NULL;
char *innodb_version_var = NULL;
char *have_backup_locks_var = NULL;
char *have_backup_safe_binlog_info_var = NULL;
char *log_bin_var = NULL;
char *lock_wait_timeout_var= NULL;
char *wsrep_on_var = NULL;
@@ -1861,7 +1861,6 @@ xtrabackup_read_metadata(char *filename)
{
FILE *fp;
my_bool r = TRUE;
int t;

fp = fopen(filename,"r");
if(!fp) {
@@ -5792,35 +5791,6 @@ innodb_free_param()
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
xtrabackup_prepare_func(int argc, char ** argv)
{

0 comments on commit cd805a5

Please sign in to comment.