Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9892

Firebird index name length limit is not taken into account

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.8-RC1
    • Fix Version/s: 3.0.9-RC1
    • Labels:
      None
    • Environment:
      PHP 5.3.2, Firebird 2.1,

      Description

      Firebird 2.1 has a maximum length of an index name equal to 31 characters.

      For example when creating the index for the QaA CAPTCHA plug-in this error occurs:

      General Error
      SQL ERROR [ firebird ]
       
      unsuccessful metadata update Name longer than database column size [-607]
       
      SQL
       
      CREATE INDEX phpbb_captcha_questions_lang_iso ON phpbb_captcha_questions(lang_iso)
       
      BACKTRACE
      

      The reason is that phpbb_captcha_questions_lang_iso is 32 characters long.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                naderman Nils Adermann
                Reporter:
                ameeck Vojtech Vondra
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: