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

SQL Cache is not used

    XMLWordPrintable

Details

    Description

      The DBAL checks if sql_save is defined on the cache to decide if it should cache queries:

      if ($cache_ttl && method_exists($cache, 'sql_save'))

      However the sql_* methods are only implemented in the driver, and $cache is the cache service, so this will always be false, and queries will never be cached.

      Attachments

        Issue Links

          Activity

            People

              bantu Andreas Fischer [X] (Inactive)
              naderman Nils Adermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: