diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-03-15 11:39:52 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-03-15 11:42:15 +0100 |
commit | cd805a5f1c2aabede411e6732d7047088f61233e (patch) | |
tree | 419cbee6f2f86ef9d23f3e79198cd65550259d97 /extra/mariabackup/xtrabackup.cc | |
parent | b6dc47a0f72fb56b4e7e916dbf8df861949253e0 (diff) | |
download | mariadb-git-cd805a5f1c2aabede411e6732d7047088f61233e.tar.gz |
Cleanup - remove unused variables and functions after MDEV-18917
Diffstat (limited to 'extra/mariabackup/xtrabackup.cc')
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index d54f7ab5309..af3fddbc264 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -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) { |