[MDEV-9432] For mysqlcheck, the -o option and -C option are excluse, but that's not documented Created: 2016-01-19  Updated: 2016-03-22  Resolved: 2016-03-22

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: 10.1.10
Fix Version/s: 10.2.0

Type: Bug Priority: Trivial
Reporter: Quanah Gibson-Mount (Inactive) Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux



 Description   

When using mysqlcheck, the -o and the -C options are exclusive, yet this is not documented in the man page for mysqlcheck.

It has:

o --check-only-changed, -C

Check only tables that have changed since the last check or that have not been closed properly.

o --optimize, -o

Optimize the tables.

Yet if you specify both:

Error: /opt/zimbra/common/bin/mysqlcheck doesn't support multiple contradicting commands.



 Comments   
Comment by Ian Gilfillan [ 2016-01-19 ]

The man page does state that the tool is used to either check, repair, optimize, or analyze tables. There are then quite a number of combinations that will result in the same error. But agree, this can be stated more explicitly, as in the docs, so will look at pushing a change.

Generated at Thu Feb 08 07:34:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.