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

Oracle can set error_reporting to 0

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_24_STABLE

      Description

      While testing MDL-42912, I discovered that error_reporting could be set to 0 in some circumstances, hiding all the possible reporting.

      This is caused by Oracle's query_start() and query_end(). While the first save the current error_reporting, and the latter reset it, it can happen that query_start is called twice in a raw, leading to an error_reporting of 0 from that point.

      Identified on 2.4.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              fred Frédéric Massart
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: