[MDEV-16733] mysqldump --tab and --xml options are conflicting Created: 2018-07-11  Updated: 2022-10-26  Resolved: 2022-10-26

Status: Closed
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 5.5, 10.0, 10.1, 10.2, 10.3
Fix Version/s: 10.11.1

Type: Bug Priority: Trivial
Reporter: Aleksey Midenkov Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-16029 mysqldump: dump and restore historica... Closed

 Description   

Reproduce

mysqldump -T/tmp -uroot --xml test

Result

Command succeeded, files created under /tmp.
Following is written to STDOUT:

<database name="test">
</database>

Expected

Error: can't set --xml option while --tab is specified.



 Comments   
Comment by Sergei Golubchik [ 2018-08-31 ]

I don't know... is that a problem? Should it be fixed?

Comment by Aleksey Midenkov [ 2021-02-28 ]

Well, any unexpected behavior should be fixed. User requests --xml but doesn't get it and doesn't get any error. This is unfriendly. Since this is one little "if" fork, I fixed this in MDEV-16029.

Generated at Thu Feb 08 08:31:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.