Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11555

index too long in cache_flags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Roles / Access
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      during last upgrade:

      (mysql): CREATE UNIQUE INDEX mdl_cachflag_flanam_uix ON mdl_cache_flags (flagtype, name) 1071: Specified key was too long; max key length is 1000 bytes

      ADOConnection._Execute(CREATE UNIQUE INDEX mdl_cachflag_flanam_uix ON mdl_cache_flags (flagtype, name), false) % line 891, file: adodb.inc.php
      ADOConnection.Execute(CREATE UNIQUE INDEX mdl_cachflag_flanam_uix ON mdl_cache_flags (flagtype, name)) % line 89, file: dmllib.php
      execute_sql(CREATE UNIQUE INDEX mdl_cachflag_flanam_uix ON mdl_cache_flags (flagtype, name), true) % line 2091, file: dmllib.php
      execute_sql_arr(Array[2], true, true) % line 665, file: ddllib.php
      create_table(Object:XMLDBTable) % line 2283, file: upgrade.php

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              martinlanghoff Martín Langhoff
              Reporter:
              skodak Petr Skoda
              Tester:
              Andrew Davis
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08