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

wrong field setup for mdl_sessions table when using db_sessions for MySQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.4
    • Fix Version/s: 1.7
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      The sesskey field in mdl_sessions is not set as binary, but binary queries happen on it... this means the index it has is useless.

      ALTER TABLE mdl_sessions CHANGE sesskey sesskey varchar(32) binary NOT NULL default '';

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  7/Nov/06