Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-723

MODE_OPTIONS table is not valid in a MySQL database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 1.1.0.Final
    • Storage
    • None

    Description

      Ran across this the other day w/ Brian. The table's just not valid with MySQL even after running the generator

      mysql> create table MODE_OPTIONS (NAME varchar(512) not null, VALUE varchar(512) not null, primary key (NAME)) ENGINE=InnoDB;
      ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
      mysql> create table MODE_OPTIONS (NAME varchar(512) not null, VALUE varchar(512) not null, primary key (NAME)) ENGINE=InnoDB;
      ERROR 1071 (42000): Specified key was too long; max key length is 1000 bytes

      so if it's InnoDB or MyISAM it fails.

      Attachments

        Activity

          People

            bcarothers_jira Brian Carothers (Inactive)
            meetoblivion_jira John Ament (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: