Bug #27301 | space padding to display width does not occur | ||
---|---|---|---|
Submitted: | 20 Mar 2007 19:33 | Modified: | 29 Oct 2008 20:23 |
Reporter: | Scott Noyes (Basic Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | all | OS: | Windows (Windows, Linux) |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
Tags: | qc |
[20 Mar 2007 19:33]
Scott Noyes
[20 Mar 2007 22:16]
Sveta Smirnova
Thank you for the report. Verified as described.
[26 Sep 2008 18:38]
Omer Barnir
triage: correcting tag from SR51MRU to CHECKED as D=4
[29 Oct 2008 20:23]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products. The width information *is* present in result set metadata, but need not be used by the application. I've changed the paragraph in question as follows: Another extension is supported by MySQL for optionally specifying the display width of integer data types in parentheses following the base keyword for the type (for example, INT(4)). This optional display width may be used by applications to display integer values having a width less than the width specified for the column by left-padding them with spaces. (That is, this width is present in the metadata returned with result sets. Whether it is used or not is up to the application.)