diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-04-09 19:16:50 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-04-09 19:16:50 +0100 |
commit | ecf6675cfc0a4394fd72f156ca1660e13232e2a6 (patch) | |
tree | e7332003f70c2039f329810d8610af71864989bf /extra | |
parent | 37f24806fc9c3ca5abdba9b986186cbe9f223a2a (diff) | |
download | mariadb-git-ecf6675cfc0a4394fd72f156ca1660e13232e2a6.tar.gz |
MDEV-15713 mariabackup: throw warning, if --stream is used without --backup
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index 478c31d0027..02432dbb5b1 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -6699,6 +6699,10 @@ int main(int argc, char **argv) xtrabackup_incremental = NULL; } + if (xtrabackup_stream && !xtrabackup_backup) { + msg("Warning: --stream parameter is ignored, it only works together with --backup.\n"); + } + if (!xb_init()) { exit(EXIT_FAILURE); } |