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

Failures caused by textlimit/textsize on freedts mssql

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_27_STABLE
    • Epic Link:

      Description

      The unit test core_backup_moodle2_testcase::test_restore_legacy_availability() was causing a segfault for me on mssql.

      The fix I put in place was adding to php.ini:
      mssql.textlimit = 20971520
      mssql.textsize = 20971520

      (As specified on https://docs.moodle.org/27/en/Installing_MSSQL_for_PHP#Installation_overview )

      I don't know how common an issue this is in production, but it strikes me that:
      a) We could warn about these values not being correct in unit tests
      b) If its a big problem for production sites, we could also warn about it on the admin page.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: