Bug #54194 | ENUM limit of 65,535 elements isn't true | ||
---|---|---|---|
Submitted: | 3 Jun 2010 5:50 | Modified: | 14 Mar 2013 16:54 |
Reporter: | Stewart Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) |
Version: | 5.1.46, 5.0, 5.1, 5.6.99 | OS: | Any |
Assigned to: | Paul DuBois | CPU Architecture: | Any |
[3 Jun 2010 5:50]
Stewart Smith
[3 Jun 2010 5:52]
Stewart Smith
CREATE TABLE with ENUM with 10,900 elements (which fails)
Attachment: c (application/octet-stream, text), 85.02 KiB.
[3 Jun 2010 6:18]
Sveta Smirnova
Thank you for the report. Verified as described. I used PHP script to create table: $cat bug54194.php <?php $cr="create table t1(f1 enum("; for ($i=0; $i < 65533; $i ++) $cr .= "'$i', "; $cr = rtrim($cr, ", "); $cr .= ");"; echo $cr; ?>
[14 Mar 2013 16:54]
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. Factored out information about .frm file to this section: http://dev.mysql.com/doc/refman/5.5/en/limits-frm-file.html Added reference to ENUM limit imposed by .frm file to this section: http://dev.mysql.com/doc/refman/5.5/en/enum.html