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

TEXT comparison in restore breaks correct detection of scales

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Backup
    • None
    • MSSQL + Oracle
    • Microsoft SQL, Oracle
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      When restoring a course, pre-existing scales are searched in target site to be reused. That consists in a CLOB comparison in SQL.

      But that fails under MSSQL and Oracle that need a special syntax to compare clobs.

      Change SQL to use the helper sql_compare_text() function.

      Attachments

        Activity

          People

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Tim Hunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Jan/09