xtrabackup should reject unknown arguments which are not options
Bug #1367377 reported by
Alexey Kopytov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
Medium
|
Alexey Kopytov | ||
2.2 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
The xtrabackup binary accepts arguments which are not options, i.e. prefixed with '--'. For example:
xtrabackup --backup backup_dir
succeeds and creates a backup in the ./xtrabackup_
Such invalid syntax is error prone and should be rejected.
Related branches
lp:~akopytov/percona-xtrabackup/bug1367377-2.1
- Alexey Kopytov (community): Approve
-
Diff: 34 lines (+19/-0)2 files modifiedsrc/xtrabackup.cc (+6/-0)
test/t/bug1367377.sh (+13/-0)
lp:~akopytov/percona-xtrabackup/bug1367377-2.2
- Alexey Kopytov (community): Approve
-
Diff: 34 lines (+19/-0)2 files modifiedstorage/innobase/xtrabackup/src/xtrabackup.cc (+6/-0)
storage/innobase/xtrabackup/test/t/bug1367377.sh (+13/-0)
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-697