• unknown's avatar
    InnoDB: Fix bug #13315, index columns having a maximum length of 767. · 6fbbb1d5
    unknown authored
    
    innobase/data/data0data.c:
      Adapt to DICT_MAX_COL_PREFIX_LEN rename.
    innobase/dict/dict0dict.c:
      Adapt to DICT_MAX_COL_PREFIX_LEN rename.
    innobase/include/dict0mem.h:
      Rename DICT_MAX_COL_PREFIX_LEN to DICT_MAX_INDEX_COL_LEN.
    innobase/include/row0mysql.h:
      Add field_lengths parameter to row_create_index_for_mysql.
    innobase/rem/rem0rec.c:
      Adapt to DICT_MAX_COL_PREFIX_LEN rename.
    innobase/row/row0mysql.c:
      Add field_lengths parameter to row_create_index_for_mysql and use it to
      check for too long index columns.
    mysql-test/r/innodb.result:
      New tests.
    mysql-test/t/innodb.test:
      New tests.
    sql/ha_innodb.cc:
      Create temporary field_lengths buffer and pass it to
      row_create_index_for_mysql.
    6fbbb1d5
innodb.test 46.3 KB