Error: 1117 - SQLSTATE: HY000 ER_TOO_MANY_FIELDS

  • Share
  • Share

Description:
Message: Too many columns

MySql-Server , , , , , , , , , , , , , , , ,

  1. srinivas panguluri
    March 18th, 2009 at 15:26 | #1

    It turns out the column limits set by MySQL is 4096 and each time you add a custom filed in EE it adds 2x fields to the exp_weblog_data table. Whilst this might not be an issue on a single site, this is a major issue on MSM.
    Well, this code explains why < max row size and 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);
    }

  1. No trackbacks yet.