Skip to content

Commit

Permalink
Xtrabackup Release Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xiedao0yy committed Apr 7, 2023
1 parent aa5ec4f commit bda14ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions storage/innobase/xtrabackup/src/xtrabackup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <fcntl.h>
#include <signal.h>
#include <string.h>
#include "mysql_version.h.in"
#include "os0event.h"

#ifdef __linux__
Expand Down Expand Up @@ -1652,9 +1653,10 @@ static const char *xb_server_default_groups[] = {"xtrabackup", "mysqld", 0, 0,
0};

static void print_version(void) {
msg("%s version %s based on MySQL server %s %s (%s) (revision id: %s)\n",
msg("%s version %s based on MySQL server %s %s (%s) (revision id: %s)\n"
"PolarDB-X Backup Versions: %s\n",
my_progname, XTRABACKUP_VERSION, MYSQL_SERVER_VERSION, SYSTEM_TYPE,
MACHINE_TYPE, XTRABACKUP_REVISION);
MACHINE_TYPE, XTRABACKUP_REVISION, POLARDBX_BACKUP_VERSION);
}

static void usage(void) {
Expand Down
2 changes: 2 additions & 0 deletions storage/innobase/xtrabackup/src/xtrabackup_version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#define XTRABACKUP_VERSION "@XB_VERSION@"
#define XTRABACKUP_REVISION "@XB_REVISION@"

#define POLARDBX_BACKUP_VERSION "2.0.0"

#endif /* XB_VERSION_H */

0 comments on commit bda14ca

Please sign in to comment.