Bug #108376 The explain of --column-statistics option is different

Submitted: 5 Sep 2022 2:50 Modified: 5 Sep 2022 5:37
Reporter: Jinghua Lin Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any

[5 Sep 2022 2:50] Jinghua Lin
Description:
The explain of --column-statistics option is different between the documentation and mysqldump's help.

the documentation:

--column-statistics

Add ANALYZE TABLE statements to the output to generate histogram statistics for dumped tables when the dump file is reloaded. This option is disabled by default because histogram generation for large tables can take a long time.

mysqldump's help:

--column-statistics Add an ANALYZE TABLE statement to regenerate any existing
                      column statistics.
                      (Defaults to on; use --skip-column-statistics to disable.)

One said this option is disabled by default, anothor one said deefaults to on.

So there must be a mistake in one place and it should be fixed.

How to repeat:
1. open https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#option_mysqldump_column-statistics

2. execute `mysqldump --help`, search for "--column-statistics".

3. compare their contents.
[5 Sep 2022 5:37] MySQL Verification Team
Hello Jinghua Lin,

Thank you for the report and feedback.

regards,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.