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.

        Issue Links

          Activity

          Hide
          EXreaction EXreaction [X] (Inactive) added a comment -

          This is not yet fixed.

          Show
          EXreaction EXreaction [X] (Inactive) added a comment - This is not yet fixed.
          Hide
          EXreaction EXreaction [X] (Inactive) added a comment -

          Added a new PR that now seems to work, includes a basic test

          Show
          EXreaction EXreaction [X] (Inactive) added a comment - Added a new PR that now seems to work, includes a basic test

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              naderman Nils Adermann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development