Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16307

Incorrect SQL / PHP time when debug.sql_explain is enabled

    Details

      Description

      When debug.sql_explain parameter is enabled, incorrect SQL / PHP time is displayed (SQL time is always 0.000 while PHP time is always equal to the total time).

      If debug.sql_explain param is disabled, the time is correct (because no DBAL involved into calculation).

      It seems that there-s a problem with $this->sql_time in the function SQL_report() is not incremented for every SQL query (or set to 0 at the start for every function call).

      debug.load_time is enabled for both cases.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              rxu rxu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: