Bug #118247 (Documentation)The descriptions for "M" parameter not matched in different chapters

Submitted: 22 May 2025 6:26 Modified: 28 May 2025 8:41
Reporter: elodie elodie Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7, 8.0, 8.4, 9.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Numeric Data Types

[22 May 2025 6:26] elodie elodie
Description:
hi,

i'm just studying mysql v5.7 for some characteristic on this version. And when i read the documentation, i found that the descriptions for the parameter "M" mismatched in different chapters:

1. in chapter 11(https://dev.mysql.com/doc/refman/5.7/en/data-types.html),it says:
 
For integer types, M indicates the maximum display width. 

2. in chapter 11.1.1(https://dev.mysql.com/doc/refman/5.7/en/numeric-type-syntax.html), it is:

For integer data types, M indicates the minimum display width. 

so , my question is , what on earth M indicates? the "maximum" or the "minimum" display width?

pls kindly help confirm.

thanks.

How to repeat:
check and compare the following chapters for "M indicates":
https://dev.mysql.com/doc/refman/5.7/en/data-types.html
https://dev.mysql.com/doc/refman/5.7/en/numeric-type-syntax.html
[22 May 2025 11:18] MySQL Verification Team
Hello Elodie,

Thank you for the bug report.
Verified as described.

Regards,
Ashwini Patil
[28 May 2025 8:41] elodie elodie
Hi,

thanks for the verification! not sure what's the solution for this issue? and for now, could you pls just let me know the answer - what on earth M indicates? the "maximum" or the "minimum" display width? i need this information for my investigation..

thanks!

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

Page generated in 0.057 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.