Browse Source

MDEV-15713 mariabackup: throw warning, if --stream is used without --backup

pull/699/head
Vladislav Vaintroub 8 years ago
parent
commit
ecf6675cfc
  1. 4
      extra/mariabackup/xtrabackup.cc

4
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);
}

Loading…
Cancel
Save