Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
3.1.0-dev
-
None
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
- is duplicated by
-
PHPBB3-11053 Cache driver expects reference, receives value from service
- Closed
- was caused by solution of
-
PHPBB3-9983 Restructure ACM classes
- Unverified Fix