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

dbtools::sql_create_table incorrectly throws error related to auto-increment length on non auto-increment fields

    Details

      Description

      if (isset($prepared_column['auto_increment']) && strlen($column_name) > 26)

      Should be:
      if (isset($prepared_column['auto_increment']) && $prepared_column['auto_increment'] && strlen($column_name) > 26)

        Attachments

          Activity

            People

            • Assignee:
              EXreaction EXreaction [X] (Inactive)
              Reporter:
              EXreaction EXreaction [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: