Re: ERROR 1117 "too many columns" in create stmt
Well, this code explains why < max row size and < 4096 fields may be tolerated:
in unireg.cc
/* Hack to avoid bugs with small static rows in MySQL */
reclength=max(file->min_record_length(table_options),reclength);
if (info_length+(ulong) create_fields.elements*FCOMP+288+
n_length+int_length+com_length > 65535L || int_count > 255)
{
my_message(ER_TOO_MANY_FIELDS, ER(ER_TOO_MANY_FIELDS), MYF(0));
DBUG_RETURN(1);
}
So, in 5.0.44 max number in tinyint cols is 2410..
Subject
Views
Written By
Posted
6858
August 17, 2005 06:26AM
5195
August 22, 2005 06:39AM
Re: ERROR 1117 "too many columns" in create stmt
4891
July 07, 2007 07:57AM
Sorry, you can't reply to this topic. It has been closed.
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.