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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 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.