| Bug #4117 | Too many columns while creating a table | ||
|---|---|---|---|
| Submitted: | 12 Jun 2004 23:48 | Modified: | 16 Jun 2004 12:08 |
| Reporter: | Partha Dutta | Email Updates: | |
| Status: | To be fixed later | ||
| Category: | Server: DDL | Severity: | S2 (Serious) |
| Version: | 4.1.2 | OS: | Sun Solaris (Solaris 2.8 64bit) |
| Assigned to: | Sergey Gluhov | Target Version: | |
[12 Jun 2004 23:48]
Partha Dutta
[12 Jun 2004 23:50]
Partha Dutta
schema for table with many columns
Attachment: calcrtz.sql (text/x-sql), 81.82 KiB.
[16 Jun 2004 12:07]
Sergei Golubchik
Your DDL doesn't work, because in 4.1 we allocate two bytes to store field's length, instead of one. Thus you go above max length a row metadata can be in an frm file. This cannot be fixed ASAP, but only when we introduce new, more flexible frm format that does not have arbitrary limits (our current one is 20 years old already). Unfortunately it cannot happen before 5.0
[23 Mar 2006 22:35]
Mark Van De Vyver
Hi, I'm also running into this limitation. I'm using MySQL v4.1.12 on linux and 5.0.18-nt A workaorund is to restructure the tables. Is there any other way around this limit?
[2 May 2010 0:17]
Oleg Moskvin
I need to create a table with 22,000 fields ;) This seems to be impossible (the same error); MySQL server version is 5.1.44
