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

prevent error log output from addodb during phpunit execution

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.6
    • Unit tests
    • 4
    • BACKEND Sprint 10

      The problem is in native mssql driver which turns on the logging by default, instead of hacking adodb we can just silence it during tests...

      This is caused by the following code in native ms sql driver in adodb:
      sqlsrv_log_set_subsystems(SQLSRV_LOG_SYSTEM_ALL);

            skodak Petr Skoda
            skodak Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.